#5923A7#5923A7

#5923A7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.193 H 295.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5923A7
RGBrgb(89, 35, 167)
HSLhsl(265, 65%, 40%)
HSVhsv(265, 79%, 65%)
CMYKcmyk(46.7%, 79%, 0%, 34.5%)
CIE-LABlab(29.70, 51.69, -60.91)
CIE-LCHlch(29.70, 79.89, 310.32°)
OKLaboklab(41.75% 0.0819 -0.1747)
OKLCHoklch(41.75% 0.193 295.1)
XYZxyz(11.6940, 6.1156, 37.1160)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5923A7 #71A723
analogous
#232FA7 #5923A7 #9B23A7
triadic
#5923A7 #A75923 #23A759
tetradic
#5923A7 #A7232F #71A723 #23A79B
square
#5923A7 #A7232F #71A723 #23A79B
split-complementary
#5923A7 #A79B23 #2FA723
monochromatic
#230E42 #3E1874 #5923A7 #7533D4 #9766DF

Accessibility & contrast

On white

9.45
#5923A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5923A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5923A7
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5923A7#FFFFFF#000000##FFFFFF
##5923A71.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#424865
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5923a7;
/* rgb */ color: rgb(89, 35, 167);
/* oklch */ color: oklch(41.8% 0.193 295.1);
Tailwind
colors: {
  custom: {
    50: '#9065c2',
    500: '#5923a7',
    950: '#000000',
  },
}
SCSS
$custom: #5923a7;
$custom-light: #9065c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5923a7",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 264.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.1929,
    "h": 295.1
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#5923A7
secondary
#9CC461
accent
#E83FA3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5923A7

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

Preview Lab → · Contrast checker → · Palette generator →

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