#5C23BD#5C23BD

#5C23BD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.216 H 291.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5C23BD
RGBrgb(92, 35, 189)
HSLhsl(262, 69%, 44%)
HSVhsv(262, 81%, 74%)
CMYKcmyk(51.3%, 81.5%, 0%, 25.9%)
CIE-LABlab(32.15, 57.76, -70.01)
CIE-LCHlch(32.15, 90.76, 309.52°)
OKLaboklab(44.16% 0.0793 -0.2012)
OKLCHoklch(44.16% 0.216 291.5)
XYZxyz(14.1974, 7.1509, 48.7664)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C23BD #84BD23
analogous
#2337BD #5C23BD #A923BD
triadic
#5C23BD #BD5C23 #23BD5C
tetradic
#5C23BD #BD2337 #84BD23 #23BDA9
square
#5C23BD #BD2337 #84BD23 #23BDA9
split-complementary
#5C23BD #BDA923 #37BD23
monochromatic
#2A1056 #431989 #5C23BD #7B41DC #9F75E5

Accessibility & contrast

On white

8.64
#5C23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5C23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C23BD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C23BD#FFFFFF#000000##FFFFFF
##5C23BD1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#3A5172
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c23bd;
/* rgb */ color: rgb(92, 35, 189);
/* oklch */ color: oklch(44.2% 0.216 291.5);
Tailwind
colors: {
  custom: {
    50: '#9566d2',
    500: '#5c23bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c23bd;
$custom-light: #9566d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c23bd",
  "rgb": {
    "r": 92,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 262.208,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44162,
    "c": 0.21627,
    "h": 291.5
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#5C23BD
secondary
#AACD6F
accent
#EC3CAB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5C23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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