#5C23B0#5C23B0

#5C23B0 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.203 H 294.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#5C23B0
RGBrgb(92, 35, 176)
HSLhsl(264, 67%, 41%)
HSVhsv(264, 80%, 69%)
CMYKcmyk(47.7%, 80.1%, 0%, 31%)
CIE-LABlab(30.91, 54.43, -64.33)
CIE-LCHlch(30.91, 84.27, 310.24°)
OKLaboklab(42.93% 0.0837 -0.1846)
OKLCHoklch(42.93% 0.203 294.4)
XYZxyz(12.8490, 6.6116, 41.6650)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C23B0 #77B023
analogous
#2331B0 #5C23B0 #A323B0
triadic
#5C23B0 #B05C23 #23B05C
tetradic
#5C23B0 #B02331 #77B023 #23B0A3
square
#5C23B0 #B02331 #77B023 #23B0A3
split-complementary
#5C23B0 #B0A323 #31B023
monochromatic
#270F4A #41197D #5C23B0 #7939D8 #9B6CE2

Accessibility & contrast

On white

9.04
#5C23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5C23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C23B0
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C23B0#FFFFFF#000000##FFFFFF
##5C23B01.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#434C6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c23b0;
/* rgb */ color: rgb(92, 35, 176);
/* oklch */ color: oklch(42.9% 0.203 294.4);
Tailwind
colors: {
  custom: {
    50: '#9366c9',
    500: '#5c23b0',
    950: '#000000',
  },
}
SCSS
$custom: #5c23b0;
$custom-light: #9366c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c23b0",
  "rgb": {
    "r": 92,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 264.255,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.20264,
    "h": 294.4
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#5C23B0
secondary
#A1C867
accent
#EA3EA4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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