#592187#592187

#592187 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.161 H 304.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#592187
RGBrgb(89, 33, 135)
HSLhsl(273, 61%, 33%)
HSVhsv(273, 76%, 53%)
CMYKcmyk(34.1%, 75.6%, 0%, 47.1%)
CIE-LABlab(26.62, 44.48, -46.31)
CIE-LCHlch(26.62, 64.21, 313.85°)
OKLaboklab(38.74% 0.092 -0.1318)
OKLCHoklch(38.74% 0.161 304.9)
XYZxyz(9.0359, 4.9609, 23.3985)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592187 #4F8721
analogous
#262187 #592187 #872182
triadic
#592187 #875921 #218759
tetradic
#592187 #872621 #4F8721 #218287
square
#592187 #872621 #4F8721 #218287
split-complementary
#592187 #828721 #218726
monochromatic
#180925 #391556 #592187 #792DB8 #984FD4

Accessibility & contrast

On white

10.54
#592187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#592187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592187
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592187#FFFFFF#000000##FFFFFF
##5921871.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#503A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #592187;
/* rgb */ color: rgb(89, 33, 135);
/* oklch */ color: oklch(38.7% 0.161 304.9);
Tailwind
colors: {
  custom: {
    50: '#8c62ab',
    500: '#592187',
    950: '#000000',
  },
}
SCSS
$custom: #592187;
$custom-light: #8c62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592187",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 272.941,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.16067,
    "h": 304.9
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#592187
secondary
#7DB74D
accent
#E4448C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #592187

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

Preview Lab → · Contrast checker → · Palette generator →

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