#5F23D7 color

#5F23D7 is rgb(95, 35, 215) in RGB and hsl(260, 72%, 49%) in HSL. The closest CSS named color is blue (#0000ff, ΔE 6.3). Use white text on it (contrast 7.75:1).

#5F23D7violet
HEX#5F23D7
RGBrgb(95, 35, 215)
RGB percentrgb(37.3%, 13.7%, 84.3%)
HSLhsl(260, 72%, 49%)
HSV / HSBhsv(260, 84%, 84%)
CMYKcmyk(56%, 84%, 0%, 16%)
CIELAB (D65)lab(35.1 64.7 -80.3)

Edit in the color converter → · Check contrast → · Shades →

About #5F23D7

#5F23D7 is a medium, saturated violet with a hue angle of 260°. It belongs to the purple family and reads as a cool color. In the RGB model blue is the strongest channel at 215 (84%) and green the weakest at 35 (14%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#5F23D7
RGBrgb(95, 35, 215)
RGB percentrgb(37.3%, 13.7%, 84.3%)
HSLhsl(260, 72%, 49%)
HSV / HSBhsv(260, 84%, 84%)
CMYKcmyk(56%, 84%, 0%, 16%)
CIELAB (D65)lab(35.1 64.7 -80.3)
Decimal6235095
Binary01011111 00100011 11010111

HEX 5F 23 D7 → 95, 35, 215 (each pair is a base-16 number: 5×16 + F = 95)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #5F23D7

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #5F23D7RatioAA normalAA largeAAA normalAAA large
White text7.75:1PassPassPassPass
Black text2.71:1FailFailFailFail
White text on #5F23D7
Black text on #5F23D7
#5F23D7 text on white
#5F23D7 text on black

Relative luminance is 0.0854 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0056dc

Deuteranopia
#004ed4

Tritanopia
#285c81

Achromatopsia
#525252

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 12.8). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
blue#0000ff6.3
blueviolet#8a2be27.1
darkviolet#9400d37.9
mediumblue#0000cd8.5

CSS

.element {
  color: #5f23d7;
  background-color: rgb(95, 35, 215);
  border: 1px solid hsl(260, 72%, 49%);
  box-shadow: 0 2px 8px rgb(95 35 215 / 50%);
}
:root { --brand: #5f23d7; }

Frequently asked questions

What color is #5F23D7?
A medium saturated violet in the purple family. Closest CSS name: blue.
What is #5F23D7 in RGB?
rgb(95, 35, 215): red 95, green 35, blue 215.
What is the complementary color of #5F23D7?
#9BD723, found by rotating the hue 180°.