#592188#592188

#592188 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.162 H 304.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#592188
RGBrgb(89, 33, 136)
HSLhsl(273, 61%, 33%)
HSVhsv(273, 76%, 53%)
CMYKcmyk(34.6%, 75.7%, 0%, 46.7%)
CIE-LABlab(26.70, 44.72, -46.80)
CIE-LCHlch(26.70, 64.73, 313.70°)
OKLaboklab(38.82% 0.0917 -0.1332)
OKLCHoklch(38.82% 0.162 304.6)
XYZxyz(9.1066, 4.9892, 23.7710)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592188 #508821
analogous
#252188 #592188 #882183
triadic
#592188 #885921 #218859
tetradic
#592188 #882521 #508821 #218388
square
#592188 #882521 #508821 #218388
split-complementary
#592188 #838821 #218825
monochromatic
#190925 #391557 #592188 #792DB9 #984FD4

Accessibility & contrast

On white

10.51
#592188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#592188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592188
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592188#FFFFFF#000000##FFFFFF
##5921881.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#503A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #592188;
/* rgb */ color: rgb(89, 33, 136);
/* oklch */ color: oklch(38.8% 0.162 304.6);
Tailwind
colors: {
  custom: {
    50: '#8d62ab',
    500: '#592188',
    950: '#000000',
  },
}
SCSS
$custom: #592188;
$custom-light: #8d62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592188",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 272.621,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.16174,
    "h": 304.6
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#592188
secondary
#7EB84D
accent
#E4448D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #592188

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

Preview Lab → · Contrast checker → · Palette generator →

#592188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva