#592F80#592F80

#592F80 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.133 H 305.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#592F80
RGBrgb(89, 47, 128)
HSLhsl(271, 46%, 34%)
HSVhsv(271, 63%, 50%)
CMYKcmyk(30.5%, 63.3%, 0%, 49.8%)
CIE-LABlab(28.68, 35.57, -38.60)
CIE-LCHlch(28.68, 52.49, 312.66°)
OKLaboklab(40.05% 0.0765 -0.1092)
OKLCHoklch(40.05% 0.133 305)
XYZxyz(9.0318, 5.7154, 21.0453)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F80 #56802F
analogous
#302F80 #592F80 #802F7F
triadic
#592F80 #80592F #2F8059
tetradic
#592F80 #80302F #56802F #2F7F80
square
#592F80 #80302F #56802F #2F7F80
split-complementary
#592F80 #7F802F #2F8030
monochromatic
#1B0E26 #3A1F53 #592F80 #783FAD #9763C6

Accessibility & contrast

On white

9.80
#592F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592F80
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F80#FFFFFF#000000##FFFFFF
##592F801.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592f80;
/* rgb */ color: rgb(89, 47, 128);
/* oklch */ color: oklch(40.0% 0.133 305.0);
Tailwind
colors: {
  custom: {
    50: '#8b6aa5',
    500: '#592f80',
    950: '#000000',
  },
}
SCSS
$custom: #592f80;
$custom-light: #8b6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#592f80",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 271.111,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.1333,
    "h": 305
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#592F80
secondary
#84AD5E
accent
#D65291
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592F80

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

Preview Lab → · Contrast checker → · Palette generator →

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