#5923A5#5923A5

#5923A5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.191 H 295.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#5923A5
RGBrgb(89, 35, 165)
HSLhsl(265, 65%, 39%)
HSVhsv(265, 79%, 65%)
CMYKcmyk(46.1%, 78.8%, 0%, 35.3%)
CIE-LABlab(29.52, 51.17, -60.01)
CIE-LCHlch(29.52, 78.86, 310.46°)
OKLaboklab(41.57% 0.0825 -0.172)
OKLCHoklch(41.57% 0.191 295.6)
XYZxyz(11.5106, 6.0422, 36.1498)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5923A5 #6FA523
analogous
#232EA5 #5923A5 #9A23A5
triadic
#5923A5 #A55923 #23A559
tetradic
#5923A5 #A5232E #6FA523 #23A59A
square
#5923A5 #A5232E #6FA523 #23A59A
split-complementary
#5923A5 #A59A23 #2EA523
monochromatic
#230E40 #3E1873 #5923A5 #7532D3 #9764DE

Accessibility & contrast

On white

9.51
#5923A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5923A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5923A5
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5923A5#FFFFFF#000000##FFFFFF
##5923A51.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#434764
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5923a5;
/* rgb */ color: rgb(89, 35, 165);
/* oklch */ color: oklch(41.6% 0.191 295.6);
Tailwind
colors: {
  custom: {
    50: '#9065c1',
    500: '#5923a5',
    950: '#000000',
  },
}
SCSS
$custom: #5923a5;
$custom-light: #9065c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5923a5",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 264.923,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.19075,
    "h": 295.6
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#5923A5
secondary
#9AC460
accent
#E840A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5923A5

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

Preview Lab → · Contrast checker → · Palette generator →

#5923A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva