#592F9D#592F9D

#592F9D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.168 H 295.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#592F9D
RGBrgb(89, 47, 157)
HSLhsl(263, 54%, 40%)
HSVhsv(263, 70%, 62%)
CMYKcmyk(43.3%, 70.1%, 0%, 38.4%)
CIE-LABlab(30.86, 43.31, -52.97)
CIE-LCHlch(30.86, 68.42, 309.27°)
OKLaboklab(42.3% 0.0734 -0.1514)
OKLCHoklch(42.3% 0.168 295.8)
XYZxyz(11.2205, 6.5909, 32.5728)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F9D #739D2F
analogous
#2F3C9D #592F9D #902F9D
triadic
#592F9D #9D592F #2F9D59
tetradic
#592F9D #9D2F3C #739D2F #2F9D90
square
#592F9D #9D2F3C #739D2F #2F9D90
split-complementary
#592F9D #9D902F #3C9D2F
monochromatic
#24133F #3E216E #592F9D #7543C7 #9772D5

Accessibility & contrast

On white

9.06
#592F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#592F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592F9D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F9D#FFFFFF#000000##FFFFFF
##592F9D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#474A62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #592f9d;
/* rgb */ color: rgb(89, 47, 157);
/* oklch */ color: oklch(42.3% 0.168 295.8);
Tailwind
colors: {
  custom: {
    50: '#8e6bbb',
    500: '#592f9d',
    950: '#000000',
  },
}
SCSS
$custom: #592f9d;
$custom-light: #8e6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#592f9d",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 262.909,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.16826,
    "h": 295.8
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#592F9D
secondary
#9DBC6B
accent
#DD4BA5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #592F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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