#592F98#592F98

#592F98 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.162 H 297.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#592F98
RGBrgb(89, 47, 152)
HSLhsl(264, 53%, 39%)
HSVhsv(264, 69%, 60%)
CMYKcmyk(41.4%, 69.1%, 0%, 40.4%)
CIE-LABlab(30.46, 41.95, -50.58)
CIE-LCHlch(30.46, 65.71, 309.67°)
OKLaboklab(41.89% 0.0742 -0.1444)
OKLCHoklch(41.89% 0.162 297.2)
XYZxyz(10.8024, 6.4237, 30.3704)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F98 #6E982F
analogous
#2F3A98 #592F98 #8E2F98
triadic
#592F98 #98592F #2F9859
tetradic
#592F98 #982F3A #6E982F #2F988E
square
#592F98 #982F3A #6E982F #2F988E
split-complementary
#592F98 #988E2F #3A982F
monochromatic
#22123B #3E2169 #592F98 #7540C4 #976FD2

Accessibility & contrast

On white

9.19
#592F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#592F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592F98
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F98#FFFFFF#000000##FFFFFF
##592F981.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#49485F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #592f98;
/* rgb */ color: rgb(89, 47, 152);
/* oklch */ color: oklch(41.9% 0.162 297.2);
Tailwind
colors: {
  custom: {
    50: '#8d6bb7',
    500: '#592f98',
    950: '#000000',
  },
}
SCSS
$custom: #592f98;
$custom-light: #8d6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#592f98",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 264,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.16232,
    "h": 297.2
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#592F98
secondary
#99BA69
accent
#DC4CA2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #592F98

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

Preview Lab → · Contrast checker → · Palette generator →

#592F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva