#5B23AE#5B23AE

#5B23AE is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.200 H 294.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#5B23AE
RGBrgb(91, 35, 174)
HSLhsl(264, 67%, 41%)
HSVhsv(264, 80%, 68%)
CMYKcmyk(47.7%, 79.9%, 0%, 31.8%)
CIE-LABlab(30.60, 53.78, -63.64)
CIE-LCHlch(30.60, 83.32, 310.20°)
OKLaboklab(42.63% 0.0828 -0.1826)
OKLCHoklch(42.63% 0.2 294.4)
XYZxyz(12.5533, 6.4818, 40.6259)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B23AE #76AE23
analogous
#2330AE #5B23AE #A023AE
triadic
#5B23AE #AE5B23 #23AE5B
tetradic
#5B23AE #AE2330 #76AE23 #23AEA0
square
#5B23AE #AE2330 #76AE23 #23AEA0
split-complementary
#5B23AE #AEA023 #30AE23
monochromatic
#260F48 #40197B #5B23AE #7837D7 #9A6AE1

Accessibility & contrast

On white

9.14
#5B23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5B23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B23AE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B23AE#FFFFFF#000000##FFFFFF
##5B23AE1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b23ae;
/* rgb */ color: rgb(91, 35, 174);
/* oklch */ color: oklch(42.6% 0.200 294.4);
Tailwind
colors: {
  custom: {
    50: '#9265c7',
    500: '#5b23ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b23ae;
$custom-light: #9265c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b23ae",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 264.173,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.20048,
    "h": 294.4
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#5B23AE
secondary
#A0C766
accent
#E93EA5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5B23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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