#592F82#592F82

#592F82 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.136 H 304.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#592F82
RGBrgb(89, 47, 130)
HSLhsl(270, 47%, 35%)
HSVhsv(270, 64%, 51%)
CMYKcmyk(31.5%, 63.8%, 0%, 49%)
CIE-LABlab(28.82, 36.08, -39.63)
CIE-LCHlch(28.82, 53.59, 312.32°)
OKLaboklab(40.19% 0.0764 -0.1122)
OKLCHoklch(40.19% 0.136 304.2)
XYZxyz(9.1647, 5.7686, 21.7454)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F82 #58822F
analogous
#2F2F82 #592F82 #822F82
triadic
#592F82 #82592F #2F8259
tetradic
#592F82 #822F2F #58822F #2F8282
square
#592F82 #822F2F #58822F #2F8282
split-complementary
#592F82 #82822F #2F822F
monochromatic
#1B0E28 #3A1F55 #592F82 #783FAF #9664C7

Accessibility & contrast

On white

9.75
#592F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592F82
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F82#FFFFFF#000000##FFFFFF
##592F821.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#1A4480
Tritanopia (blue-blind)
#524054
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592f82;
/* rgb */ color: rgb(89, 47, 130);
/* oklch */ color: oklch(40.2% 0.136 304.2);
Tailwind
colors: {
  custom: {
    50: '#8b6aa7',
    500: '#592f82',
    950: '#000000',
  },
}
SCSS
$custom: #592f82;
$custom-light: #8b6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#592f82",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 270.361,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.13574,
    "h": 304.2
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#592F82
secondary
#86AE5F
accent
#D75193
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592F82

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

Preview Lab → · Contrast checker → · Palette generator →

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