#592A8E#592A8E

#592A8E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.157 H 301.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#592A8E
RGBrgb(89, 42, 142)
HSLhsl(268, 54%, 36%)
HSVhsv(268, 70%, 56%)
CMYKcmyk(37.3%, 70.4%, 0%, 44.3%)
CIE-LABlab(28.73, 41.90, -47.24)
CIE-LCHlch(28.73, 63.14, 311.57°)
OKLaboklab(40.41% 0.0812 -0.1346)
OKLCHoklch(40.41% 0.157 301.1)
XYZxyz(9.8291, 5.7327, 26.1746)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A8E #5F8E2A
analogous
#2A2D8E #592A8E #8B2A8E
triadic
#592A8E #8E592A #2A8E59
tetradic
#592A8E #8E2A2D #5F8E2A #2A8E8B
square
#592A8E #8E2A2D #5F8E2A #2A8E8B
split-complementary
#592A8E #8E8B2A #2D8E2A
monochromatic
#1E0E30 #3B1C5F #592A8E #7738BD #9662D1

Accessibility & contrast

On white

9.78
#592A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592A8E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A8E#FFFFFF#000000##FFFFFF
##592A8E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592a8e;
/* rgb */ color: rgb(89, 42, 142);
/* oklch */ color: oklch(40.4% 0.157 301.1);
Tailwind
colors: {
  custom: {
    50: '#8d67b0',
    500: '#592a8e',
    950: '#000000',
  },
}
SCSS
$custom: #592a8e;
$custom-light: #8d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#592a8e",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 268.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.15715,
    "h": 301.1
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#592A8E
secondary
#8DB65D
accent
#DE4A98
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #592A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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