#592198#592198

#592198 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.179 H 299.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#592198
RGBrgb(89, 33, 152)
HSLhsl(268, 64%, 36%)
HSVhsv(268, 78%, 60%)
CMYKcmyk(41.4%, 78.3%, 0%, 40.4%)
CIE-LABlab(28.06, 48.71, -54.49)
CIE-LCHlch(28.06, 73.09, 311.79°)
OKLaboklab(40.19% 0.0878 -0.1558)
OKLCHoklch(40.19% 0.179 299.4)
XYZxyz(10.3297, 5.4784, 30.2129)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592198 #609821
analogous
#212598 #592198 #952198
triadic
#592198 #985921 #219859
tetradic
#592198 #982125 #609821 #219895
square
#592198 #982125 #609821 #219895
split-complementary
#592198 #989521 #259821
monochromatic
#1E0B33 #3C1666 #592198 #762CCA #9659DB

Accessibility & contrast

On white

10.02
#592198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#592198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592198
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592198#FFFFFF#000000##FFFFFF
##5921981.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592198;
/* rgb */ color: rgb(89, 33, 152);
/* oklch */ color: oklch(40.2% 0.179 299.4);
Tailwind
colors: {
  custom: {
    50: '#8e63b7',
    500: '#592198',
    950: '#000000',
  },
}
SCSS
$custom: #592198;
$custom-light: #8e63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592198",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 268.235,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4019,
    "c": 0.17885,
    "h": 299.4
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#592198
secondary
#8DBF56
accent
#E74099
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592198

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

Preview Lab → · Contrast checker → · Palette generator →

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