#594792#594792

#594792 is a mid, moderate violet. Relative luminance 0.087; OKLCH L 45.4% C 0.119 H 292.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#594792
RGBrgb(89, 71, 146)
HSLhsl(254, 35%, 43%)
HSVhsv(254, 51%, 57%)
CMYKcmyk(39%, 51.4%, 0%, 42.7%)
CIE-LABlab(35.41, 26.13, -38.94)
CIE-LCHlch(35.41, 46.89, 303.87°)
OKLaboklab(45.39% 0.0446 -0.1102)
OKLCHoklch(45.39% 0.119 292)
XYZxyz(11.5600, 8.7054, 28.2598)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#594792 #809247
analogous
#475B92 #594792 #7E4792
triadic
#594792 #925947 #479259
tetradic
#594792 #92475B #809247 #47927E
square
#594792 #92475B #809247 #47927E
split-complementary
#594792 #927E47 #5B9247
monochromatic
#271F40 #403369 #594792 #7663B3 #9A8CC7

Accessibility & contrast

On white

7.66
#594792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#594792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #594792
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##594792#FFFFFF#000000##FFFFFF
##5947921.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#2C5290
Tritanopia (blue-blind)
#4A5665
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #594792;
/* rgb */ color: rgb(89, 71, 146);
/* oklch */ color: oklch(45.4% 0.119 292.0);
Tailwind
colors: {
  custom: {
    50: '#8b7ab2',
    500: '#594792',
    950: '#000000',
  },
}
SCSS
$custom: #594792;
$custom-light: #8b7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#594792",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 254.4,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.11887,
    "h": 292
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#594792
secondary
#A7B382
accent
#CB5DB0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #594792

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

Preview Lab → · Contrast checker → · Palette generator →

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