#5923B2#5923B2

#5923B2 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.205 H 292.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#5923B2
RGBrgb(89, 35, 178)
HSLhsl(263, 67%, 42%)
HSVhsv(263, 80%, 70%)
CMYKcmyk(50%, 80.3%, 0%, 30.2%)
CIE-LABlab(30.74, 54.54, -65.82)
CIE-LCHlch(30.74, 85.48, 309.65°)
OKLaboklab(42.79% 0.0784 -0.189)
OKLCHoklch(42.79% 0.205 292.5)
XYZxyz(12.7545, 6.5398, 42.7011)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5923B2 #7CB223
analogous
#2335B2 #5923B2 #A123B2
triadic
#5923B2 #B25923 #23B259
tetradic
#5923B2 #B22335 #7CB223 #23B2A1
square
#5923B2 #B22335 #7CB223 #23B2A1
split-complementary
#5923B2 #B2A123 #35B223
monochromatic
#260F4C #3F197F #5923B2 #763AD8 #996DE2

Accessibility & contrast

On white

9.10
#5923B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5923B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5923B2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5923B2#FFFFFF#000000##FFFFFF
##5923B21.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#3C4D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5923b2;
/* rgb */ color: rgb(89, 35, 178);
/* oklch */ color: oklch(42.8% 0.205 292.5);
Tailwind
colors: {
  custom: {
    50: '#9165ca',
    500: '#5923b2',
    950: '#000000',
  },
}
SCSS
$custom: #5923b2;
$custom-light: #9165ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5923b2",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 262.657,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.20463,
    "h": 292.5
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#5923B2
secondary
#A4C968
accent
#EA3EA9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5923B2

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

Preview Lab → · Contrast checker → · Palette generator →

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