#592EA4#592EA4

#592EA4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.178 H 294.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#592EA4
RGBrgb(89, 46, 164)
HSLhsl(262, 56%, 41%)
HSVhsv(262, 72%, 64%)
CMYKcmyk(45.7%, 72%, 0%, 35.7%)
CIE-LABlab(31.25, 45.74, -56.57)
CIE-LCHlch(31.25, 72.75, 308.96°)
OKLaboklab(42.76% 0.0731 -0.162)
OKLCHoklch(42.76% 0.178 294.3)
XYZxyz(11.7958, 6.7578, 35.7977)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592EA4 #79A42E
analogous
#2E3EA4 #592EA4 #942EA4
triadic
#592EA4 #A4592E #2EA459
tetradic
#592EA4 #A42E3E #79A42E #2EA494
square
#592EA4 #A42E3E #79A42E #2EA494
split-complementary
#592EA4 #A4942E #3EA42E
monochromatic
#251344 #3F2174 #592EA4 #7545CB #9974D8

Accessibility & contrast

On white

8.93
#592EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#592EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592EA4
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592EA4#FFFFFF#000000##FFFFFF
##592EA41.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#434C66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #592ea4;
/* rgb */ color: rgb(89, 46, 164);
/* oklch */ color: oklch(42.8% 0.178 294.3);
Tailwind
colors: {
  custom: {
    50: '#8f6ac0',
    500: '#592ea4',
    950: '#000000',
  },
}
SCSS
$custom: #592ea4;
$custom-light: #8f6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#592ea4",
  "rgb": {
    "r": 89,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 261.864,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.17771,
    "h": 294.3
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#592EA4
secondary
#A2C06E
accent
#DF48A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #592EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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