#5923B1#5923B1

#5923B1 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.204 H 292.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#5923B1
RGBrgb(89, 35, 177)
HSLhsl(263, 67%, 42%)
HSVhsv(263, 80%, 69%)
CMYKcmyk(49.7%, 80.2%, 0%, 30.6%)
CIE-LABlab(30.64, 54.28, -65.38)
CIE-LCHlch(30.64, 84.97, 309.70°)
OKLaboklab(42.69% 0.0787 -0.1877)
OKLCHoklch(42.69% 0.204 292.7)
XYZxyz(12.6544, 6.4998, 42.1743)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5923B1 #7BB123
analogous
#2334B1 #5923B1 #A023B1
triadic
#5923B1 #B15923 #23B159
tetradic
#5923B1 #B12334 #7BB123 #23B1A0
square
#5923B1 #B12334 #7BB123 #23B1A0
split-complementary
#5923B1 #B1A023 #34B123
monochromatic
#260F4B #3F197E #5923B1 #7639D8 #996CE2

Accessibility & contrast

On white

9.13
#5923B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5923B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5923B1
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5923B1#FFFFFF#000000##FFFFFF
##5923B11.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#3C4C6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5923b1;
/* rgb */ color: rgb(89, 35, 177);
/* oklch */ color: oklch(42.7% 0.204 292.7);
Tailwind
colors: {
  custom: {
    50: '#9165c9',
    500: '#5923b1',
    950: '#000000',
  },
}
SCSS
$custom: #5923b1;
$custom-light: #9165c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5923b1",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 262.817,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.20357,
    "h": 292.7
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#5923B1
secondary
#A3C868
accent
#EA3EA8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5923B1

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

Preview Lab → · Contrast checker → · Palette generator →

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