#5C23AE#5C23AE

#5C23AE is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.201 H 294.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#5C23AE
RGBrgb(92, 35, 174)
HSLhsl(265, 67%, 41%)
HSVhsv(265, 80%, 68%)
CMYKcmyk(47.1%, 79.9%, 0%, 31.8%)
CIE-LABlab(30.72, 53.92, -63.44)
CIE-LCHlch(30.72, 83.26, 310.37°)
OKLaboklab(42.74% 0.0843 -0.182)
OKLCHoklch(42.74% 0.201 294.9)
XYZxyz(12.6526, 6.5330, 40.6305)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C23AE #75AE23
analogous
#2330AE #5C23AE #A123AE
triadic
#5C23AE #AE5C23 #23AE5C
tetradic
#5C23AE #AE2330 #75AE23 #23AEA1
square
#5C23AE #AE2330 #75AE23 #23AEA1
split-complementary
#5C23AE #AEA123 #30AE23
monochromatic
#260F48 #41197B #5C23AE #7937D7 #9B6AE1

Accessibility & contrast

On white

9.10
#5C23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5C23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C23AE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C23AE#FFFFFF#000000##FFFFFF
##5C23AE1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#444B69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c23ae;
/* rgb */ color: rgb(92, 35, 174);
/* oklch */ color: oklch(42.7% 0.201 294.9);
Tailwind
colors: {
  custom: {
    50: '#9365c7',
    500: '#5c23ae',
    950: '#000000',
  },
}
SCSS
$custom: #5c23ae;
$custom-light: #9365c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c23ae",
  "rgb": {
    "r": 92,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 264.604,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.20053,
    "h": 294.9
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#5C23AE
secondary
#9FC766
accent
#E93EA3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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