#592398#592398

#592398 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.177 H 299.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#592398
RGBrgb(89, 35, 152)
HSLhsl(268, 63%, 37%)
HSVhsv(268, 77%, 60%)
CMYKcmyk(41.4%, 77%, 0%, 40.4%)
CIE-LABlab(28.36, 47.84, -53.99)
CIE-LCHlch(28.36, 72.14, 311.54°)
OKLaboklab(40.4% 0.0861 -0.1544)
OKLCHoklch(40.4% 0.177 299.1)
XYZxyz(10.3869, 5.5928, 30.2319)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592398 #629823
analogous
#232898 #592398 #942398
triadic
#592398 #985923 #239859
tetradic
#592398 #982328 #629823 #239894
square
#592398 #982328 #629823 #239894
split-complementary
#592398 #989423 #289823
monochromatic
#1F0C35 #3C1866 #592398 #762ECA #965CD9

Accessibility & contrast

On white

9.91
#592398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#592398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592398
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592398#FFFFFF#000000##FFFFFF
##5923981.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#4A425C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592398;
/* rgb */ color: rgb(89, 35, 152);
/* oklch */ color: oklch(40.4% 0.177 299.1);
Tailwind
colors: {
  custom: {
    50: '#8e64b7',
    500: '#592398',
    950: '#000000',
  },
}
SCSS
$custom: #592398;
$custom-light: #8e64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592398",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 267.692,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.17674,
    "h": 299.1
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#592398
secondary
#8FBE59
accent
#E6429A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592398

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

Preview Lab → · Contrast checker → · Palette generator →

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