#592098#592098

#592098 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.180 H 299.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#592098
RGBrgb(89, 32, 152)
HSLhsl(269, 65%, 36%)
HSVhsv(269, 79%, 60%)
CMYKcmyk(41.4%, 78.9%, 0%, 40.4%)
CIE-LABlab(27.91, 49.13, -54.73)
CIE-LCHlch(27.91, 73.55, 311.92°)
OKLaboklab(40.09% 0.0887 -0.1565)
OKLCHoklch(40.09% 0.18 299.5)
XYZxyz(10.3024, 5.4237, 30.2038)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592098 #5F9820
analogous
#202398 #592098 #952098
triadic
#592098 #985920 #209859
tetradic
#592098 #982023 #5F9820 #209895
square
#592098 #982023 #5F9820 #209895
split-complementary
#592098 #989520 #239820
monochromatic
#1E0B33 #3B1565 #592098 #772BCB #9657DC

Accessibility & contrast

On white

10.07
#592098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#592098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592098
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592098#FFFFFF#000000##FFFFFF
##5920981.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#4A405C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #592098;
/* rgb */ color: rgb(89, 32, 152);
/* oklch */ color: oklch(40.1% 0.180 299.5);
Tailwind
colors: {
  custom: {
    50: '#8e62b7',
    500: '#592098',
    950: '#000000',
  },
}
SCSS
$custom: #592098;
$custom-light: #8e62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592098",
  "rgb": {
    "r": 89,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 268.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40087,
    "c": 0.17988,
    "h": 299.5
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#592098
secondary
#8DBF54
accent
#E84098
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #592098

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

Preview Lab → · Contrast checker → · Palette generator →

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