#592287#592287

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

Color values

HEX#592287
RGBrgb(89, 34, 135)
HSLhsl(273, 60%, 33%)
HSVhsv(273, 75%, 53%)
CMYKcmyk(34.1%, 74.8%, 0%, 47.1%)
CIE-LABlab(26.78, 44.02, -46.05)
CIE-LCHlch(26.78, 63.70, 313.71°)
OKLaboklab(38.85% 0.0909 -0.131)
OKLCHoklch(38.85% 0.159 304.8)
XYZxyz(9.0640, 5.0172, 23.4079)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592287 #508722
analogous
#262287 #592287 #872282
triadic
#592287 #875922 #228759
tetradic
#592287 #872622 #508722 #228287
square
#592287 #872622 #508722 #228287
split-complementary
#592287 #828722 #228726
monochromatic
#190925 #391656 #592287 #792EB8 #9850D3

Accessibility & contrast

On white

10.48
#592287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592287
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592287#FFFFFF#000000##FFFFFF
##5922871.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.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: #592287;
/* rgb */ color: rgb(89, 34, 135);
/* oklch */ color: oklch(38.8% 0.159 304.8);
Tailwind
colors: {
  custom: {
    50: '#8c63ab',
    500: '#592287',
    950: '#000000',
  },
}
SCSS
$custom: #592287;
$custom-light: #8c63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592287",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 272.673,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38849,
    "c": 0.15947,
    "h": 304.8
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#592287
secondary
#7EB74E
accent
#E3458D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #592287

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

Preview Lab → · Contrast checker → · Palette generator →

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