#5F23BC#5F23BC

#5F23BC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.215 H 293.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5F23BC
RGBrgb(95, 35, 188)
HSLhsl(264, 69%, 44%)
HSVhsv(264, 81%, 74%)
CMYKcmyk(49.5%, 81.4%, 0%, 26.3%)
CIE-LABlab(32.40, 57.88, -68.98)
CIE-LCHlch(32.40, 90.05, 310.00°)
OKLaboklab(44.39% 0.0843 -0.1981)
OKLCHoklch(44.39% 0.215 293.1)
XYZxyz(14.3949, 7.2653, 48.2111)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F23BC #80BC23
analogous
#2334BC #5F23BC #AB23BC
triadic
#5F23BC #BC5F23 #23BC5F
tetradic
#5F23BC #BC2334 #80BC23 #23BCAB
square
#5F23BC #BC2334 #80BC23 #23BCAB
split-complementary
#5F23BC #BCAB23 #34BC23
monochromatic
#2B1055 #451988 #5F23BC #7D41DC #A174E5

Accessibility & contrast

On white

8.56
#5F23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5F23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F23BC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F23BC#FFFFFF#000000##FFFFFF
##5F23BC1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#415071
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5f23bc;
/* rgb */ color: rgb(95, 35, 188);
/* oklch */ color: oklch(44.4% 0.215 293.1);
Tailwind
colors: {
  custom: {
    50: '#9667d1',
    500: '#5f23bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f23bc;
$custom-light: #9667d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f23bc",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 263.529,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.21529,
    "h": 293.1
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#5F23BC
secondary
#A8CC6F
accent
#EB3CA7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5F23BC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5F23BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva