#592197#592197

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

Color values

HEX#592197
RGBrgb(89, 33, 151)
HSLhsl(268, 64%, 36%)
HSVhsv(268, 78%, 59%)
CMYKcmyk(41.1%, 78.1%, 0%, 40.8%)
CIE-LABlab(27.97, 48.46, -54.02)
CIE-LCHlch(27.97, 72.57, 311.89°)
OKLaboklab(40.1% 0.0881 -0.1544)
OKLCHoklch(40.1% 0.178 299.7)
XYZxyz(10.2482, 5.4458, 29.7834)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592197 #5F9721
analogous
#212497 #592197 #942197
triadic
#592197 #975921 #219759
tetradic
#592197 #972124 #5F9721 #219794
square
#592197 #972124 #5F9721 #219794
split-complementary
#592197 #979421 #249721
monochromatic
#1E0B33 #3B1665 #592197 #772CC9 #9658DA

Accessibility & contrast

On white

10.05
#592197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#592197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592197
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592197#FFFFFF#000000##FFFFFF
##5921971.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#4A405B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #592197;
/* rgb */ color: rgb(89, 33, 151);
/* oklch */ color: oklch(40.1% 0.178 299.7);
Tailwind
colors: {
  custom: {
    50: '#8e63b7',
    500: '#592197',
    950: '#000000',
  },
}
SCSS
$custom: #592197;
$custom-light: #8e63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592197",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 268.475,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.17778,
    "h": 299.7
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#592197
secondary
#8DBE55
accent
#E74198
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592197

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

Preview Lab → · Contrast checker → · Palette generator →

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