#592895#592895

#592895 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.168 H 299.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#592895
RGBrgb(89, 40, 149)
HSLhsl(267, 58%, 37%)
HSVhsv(267, 73%, 58%)
CMYKcmyk(40.3%, 73.2%, 0%, 41.6%)
CIE-LABlab(28.93, 44.73, -51.22)
CIE-LCHlch(28.93, 68.00, 311.13°)
OKLaboklab(40.73% 0.082 -0.1462)
OKLCHoklch(40.73% 0.168 299.3)
XYZxyz(10.3021, 5.8112, 29.0069)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592895 #649528
analogous
#282E95 #592895 #8F2895
triadic
#592895 #955928 #289559
tetradic
#592895 #95282E #649528 #28958F
square
#592895 #95282E #649528 #28958F
split-complementary
#592895 #958F28 #2E9528
monochromatic
#1F0E35 #3C1B65 #592895 #7635C5 #9662D5

Accessibility & contrast

On white

9.71
#592895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#592895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592895
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592895#FFFFFF#000000##FFFFFF
##5928951.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#4B435C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592895;
/* rgb */ color: rgb(89, 40, 149);
/* oklch */ color: oklch(40.7% 0.168 299.3);
Tailwind
colors: {
  custom: {
    50: '#8d66b5',
    500: '#592895',
    950: '#000000',
  },
}
SCSS
$custom: #592895;
$custom-light: #8d66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#592895",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 266.972,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.16768,
    "h": 299.3
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#592895
secondary
#91BB5E
accent
#E1479C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592895

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

Preview Lab → · Contrast checker → · Palette generator →

#592895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva