#592F7B#592F7B

#592F7B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.127 H 307.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#592F7B
RGBrgb(89, 47, 123)
HSLhsl(273, 45%, 33%)
HSVhsv(273, 62%, 48%)
CMYKcmyk(27.6%, 61.8%, 0%, 51.8%)
CIE-LABlab(28.35, 34.28, -36.00)
CIE-LCHlch(28.35, 49.71, 313.60°)
OKLaboklab(39.69% 0.0766 -0.1015)
OKLCHoklch(39.69% 0.127 307)
XYZxyz(8.7107, 5.5870, 19.3546)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F7B #517B2F
analogous
#332F7B #592F7B #7B2F77
triadic
#592F7B #7B592F #2F7B59
tetradic
#592F7B #7B332F #517B2F #2F777B
square
#592F7B #7B332F #517B2F #2F777B
split-complementary
#592F7B #777B2F #2F7B33
monochromatic
#190D22 #391E4F #592F7B #7940A7 #9762C3

Accessibility & contrast

On white

9.92
#592F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#592F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592F7B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F7B#FFFFFF#000000##FFFFFF
##592F7B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417D
Deuteranopia (green-blind)
#224379
Tritanopia (blue-blind)
#543E50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592f7b;
/* rgb */ color: rgb(89, 47, 123);
/* oklch */ color: oklch(39.7% 0.127 307.0);
Tailwind
colors: {
  custom: {
    50: '#8b6aa2',
    500: '#592f7b',
    950: '#000000',
  },
}
SCSS
$custom: #592f7b;
$custom-light: #8b6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#592f7b",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 273.158,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.12717,
    "h": 307
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#592F7B
secondary
#7FAA5C
accent
#D4538D
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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