#592A8D#592A8D

#592A8D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.156 H 301.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#592A8D
RGBrgb(89, 42, 141)
HSLhsl(268, 54%, 36%)
HSVhsv(268, 70%, 55%)
CMYKcmyk(36.9%, 70.2%, 0%, 44.7%)
CIE-LABlab(28.65, 41.64, -46.75)
CIE-LCHlch(28.65, 62.60, 311.69°)
OKLaboklab(40.33% 0.0813 -0.1331)
OKLCHoklch(40.33% 0.156 301.4)
XYZxyz(9.7543, 5.7028, 25.7810)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A8D #5E8D2A
analogous
#2A2C8D #592A8D #8A2A8D
triadic
#592A8D #8D592A #2A8D59
tetradic
#592A8D #8D2A2C #5E8D2A #2A8D8A
square
#592A8D #8D2A2C #5E8D2A #2A8D8A
split-complementary
#592A8D #8D8A2A #2C8D2A
monochromatic
#1D0E2F #3B1C5E #592A8D #7738BC #9661D0

Accessibility & contrast

On white

9.81
#592A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#592A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A8D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A8D#FFFFFF#000000##FFFFFF
##592A8D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#4E4158
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592a8d;
/* rgb */ color: rgb(89, 42, 141);
/* oklch */ color: oklch(40.3% 0.156 301.4);
Tailwind
colors: {
  custom: {
    50: '#8c67af',
    500: '#592a8d',
    950: '#000000',
  },
}
SCSS
$custom: #592a8d;
$custom-light: #8c67af;
$custom-dark: #000000;
JSON
{
  "hex": "#592a8d",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 268.485,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.15598,
    "h": 301.4
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#592A8D
secondary
#8CB65D
accent
#DD4A98
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #592A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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