#592792#592792

#592792 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.166 H 300.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#592792
RGBrgb(89, 39, 146)
HSLhsl(268, 58%, 36%)
HSVhsv(268, 73%, 57%)
CMYKcmyk(39%, 73.3%, 0%, 42.7%)
CIE-LABlab(28.51, 44.44, -50.06)
CIE-LCHlch(28.51, 66.94, 311.59°)
OKLaboklab(40.35% 0.0836 -0.1428)
OKLCHoklch(40.35% 0.166 300.4)
XYZxyz(10.0324, 5.6501, 27.7506)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592792 #609227
analogous
#272B92 #592792 #8F2792
triadic
#592792 #925927 #279259
tetradic
#592792 #92272B #609227 #27928F
square
#592792 #92272B #609227 #27928F
split-complementary
#592792 #928F27 #2B9227
monochromatic
#1E0D31 #3C1A62 #592792 #7634C2 #965FD4

Accessibility & contrast

On white

9.86
#592792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#592792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592792
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592792#FFFFFF#000000##FFFFFF
##5927921.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#4C415A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592792;
/* rgb */ color: rgb(89, 39, 146);
/* oklch */ color: oklch(40.4% 0.166 300.4);
Tailwind
colors: {
  custom: {
    50: '#8d66b3',
    500: '#592792',
    950: '#000000',
  },
}
SCSS
$custom: #592792;
$custom-light: #8d66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#592792",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 268.037,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40353,
    "c": 0.16552,
    "h": 300.4
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#592792
secondary
#8DBA5B
accent
#E14799
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592792

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

Preview Lab → · Contrast checker → · Palette generator →

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