#592F81#592F81

#592F81 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.135 H 304.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#592F81
RGBrgb(89, 47, 129)
HSLhsl(271, 47%, 35%)
HSVhsv(271, 64%, 51%)
CMYKcmyk(31%, 63.6%, 0%, 49.4%)
CIE-LABlab(28.75, 35.82, -39.11)
CIE-LCHlch(28.75, 53.04, 312.49°)
OKLaboklab(40.12% 0.0764 -0.1107)
OKLCHoklch(40.12% 0.135 304.6)
XYZxyz(9.0979, 5.7419, 21.3936)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F81 #57812F
analogous
#302F81 #592F81 #812F80
triadic
#592F81 #81592F #2F8159
tetradic
#592F81 #81302F #57812F #2F8081
square
#592F81 #81302F #57812F #2F8081
split-complementary
#592F81 #80812F #2F8130
monochromatic
#1B0E27 #3A1F54 #592F81 #783FAE #9664C6

Accessibility & contrast

On white

9.77
#592F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592F81
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F81#FFFFFF#000000##FFFFFF
##592F811.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014384
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#524053
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592f81;
/* rgb */ color: rgb(89, 47, 129);
/* oklch */ color: oklch(40.1% 0.135 304.6);
Tailwind
colors: {
  custom: {
    50: '#8b6aa6',
    500: '#592f81',
    950: '#000000',
  },
}
SCSS
$custom: #592f81;
$custom-light: #8b6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#592f81",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 270.732,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.13451,
    "h": 304.6
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#592F81
secondary
#85AD5E
accent
#D65292
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592F81

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

Preview Lab → · Contrast checker → · Palette generator →

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