#592794#592794

#592794 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.168 H 299.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#592794
RGBrgb(89, 39, 148)
HSLhsl(268, 58%, 37%)
HSVhsv(268, 74%, 58%)
CMYKcmyk(39.9%, 73.6%, 0%, 42%)
CIE-LABlab(28.68, 44.95, -51.02)
CIE-LCHlch(28.68, 68.00, 311.38°)
OKLaboklab(40.52% 0.0832 -0.1457)
OKLCHoklch(40.52% 0.168 299.7)
XYZxyz(10.1893, 5.7129, 28.5771)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592794 #629427
analogous
#272C94 #592794 #902794
triadic
#592794 #945927 #279459
tetradic
#592794 #94272C #629427 #279490
square
#592794 #94272C #629427 #279490
split-complementary
#592794 #949027 #2C9427
monochromatic
#1F0D33 #3C1A64 #592794 #7634C4 #9660D5

Accessibility & contrast

On white

9.80
#592794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#592794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##592794#FFFFFF#000000##FFFFFF
##5927941.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)
#004397
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#4B425B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592794;
/* rgb */ color: rgb(89, 39, 148);
/* oklch */ color: oklch(40.5% 0.168 299.7);
Tailwind
colors: {
  custom: {
    50: '#8d66b4',
    500: '#592794',
    950: '#000000',
  },
}
SCSS
$custom: #592794;
$custom-light: #8d66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#592794",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 267.523,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.16776,
    "h": 299.7
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#592794
secondary
#8FBB5C
accent
#E2469A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592794

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

Preview Lab → · Contrast checker → · Palette generator →

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