#592A8F#592A8F

#592A8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.158 H 300.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#592A8F
RGBrgb(89, 42, 143)
HSLhsl(268, 55%, 36%)
HSVhsv(268, 71%, 56%)
CMYKcmyk(37.8%, 70.6%, 0%, 43.9%)
CIE-LABlab(28.81, 42.16, -47.73)
CIE-LCHlch(28.81, 63.68, 311.45°)
OKLaboklab(40.49% 0.081 -0.136)
OKLCHoklch(40.49% 0.158 300.8)
XYZxyz(9.9045, 5.7629, 26.5718)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A8F #608F2A
analogous
#2A2D8F #592A8F #8C2A8F
triadic
#592A8F #8F592A #2A8F59
tetradic
#592A8F #8F2A2D #608F2A #2A8F8C
square
#592A8F #8F2A2D #608F2A #2A8F8C
split-complementary
#592A8F #8F8C2A #2D8F2A
monochromatic
#1E0E30 #3C1C60 #592A8F #7638BE #9662D1

Accessibility & contrast

On white

9.76
#592A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#592A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A8F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A8F#FFFFFF#000000##FFFFFF
##592A8F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#4D4259
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592a8f;
/* rgb */ color: rgb(89, 42, 143);
/* oklch */ color: oklch(40.5% 0.158 300.8);
Tailwind
colors: {
  custom: {
    50: '#8d67b1',
    500: '#592a8f',
    950: '#000000',
  },
}
SCSS
$custom: #592a8f;
$custom-light: #8d67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#592a8f",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 267.921,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40486,
    "c": 0.1583,
    "h": 300.8
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#592A8F
secondary
#8DB75E
accent
#DE4A99
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #592A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#592A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva