#592286#592286

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

Color values

HEX#592286
RGBrgb(89, 34, 134)
HSLhsl(273, 60%, 33%)
HSVhsv(273, 75%, 53%)
CMYKcmyk(33.6%, 74.6%, 0%, 47.5%)
CIE-LABlab(26.70, 43.78, -45.55)
CIE-LCHlch(26.70, 63.18, 313.86°)
OKLaboklab(38.77% 0.0911 -0.1295)
OKLCHoklch(38.77% 0.158 305.1)
XYZxyz(8.9940, 4.9892, 23.0388)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592286 #4F8622
analogous
#272286 #592286 #862281
triadic
#592286 #865922 #228659
tetradic
#592286 #862722 #4F8622 #228186
square
#592286 #862722 #4F8622 #228186
split-complementary
#592286 #818622 #228627
monochromatic
#180924 #391655 #592286 #792EB7 #9850D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##592286#FFFFFF#000000##FFFFFF
##5922861.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)
#003E89
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#513A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #592286;
/* rgb */ color: rgb(89, 34, 134);
/* oklch */ color: oklch(38.8% 0.158 305.1);
Tailwind
colors: {
  custom: {
    50: '#8c63aa',
    500: '#592286',
    950: '#000000',
  },
}
SCSS
$custom: #592286;
$custom-light: #8c63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#592286",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 273,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38768,
    "c": 0.15838,
    "h": 305.1
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#592286
secondary
#7DB64E
accent
#E3458C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #592286

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

Preview Lab → · Contrast checker → · Palette generator →

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