#592297#592297

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

Color values

HEX#592297
RGBrgb(89, 34, 151)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 77%, 59%)
CMYKcmyk(41.1%, 77.5%, 0%, 40.8%)
CIE-LABlab(28.12, 48.03, -53.77)
CIE-LCHlch(28.12, 72.10, 311.77°)
OKLaboklab(40.21% 0.0872 -0.1537)
OKLCHoklch(40.21% 0.177 299.6)
XYZxyz(10.2764, 5.5021, 29.7928)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592297 #609722
analogous
#222697 #592297 #942297
triadic
#592297 #975922 #229759
tetradic
#592297 #972226 #609722 #229794
square
#592297 #972226 #609722 #229794
split-complementary
#592297 #979422 #269722
monochromatic
#1E0C33 #3C1765 #592297 #762DC9 #965ADA

Accessibility & contrast

On white

10.00
#592297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592297
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592297#FFFFFF#000000##FFFFFF
##5922971.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592297;
/* rgb */ color: rgb(89, 34, 151);
/* oklch */ color: oklch(40.2% 0.177 299.6);
Tailwind
colors: {
  custom: {
    50: '#8e63b7',
    500: '#592297',
    950: '#000000',
  },
}
SCSS
$custom: #592297;
$custom-light: #8e63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592297",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 268.205,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.17673,
    "h": 299.6
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#592297
secondary
#8DBE57
accent
#E64299
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592297

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

Preview Lab → · Contrast checker → · Palette generator →

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