#592178#592178

#592178 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.145 H 310.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#592178
RGBrgb(89, 33, 120)
HSLhsl(279, 57%, 30%)
HSVhsv(279, 73%, 47%)
CMYKcmyk(25.8%, 72.5%, 0%, 52.9%)
CIE-LABlab(25.47, 40.87, -38.72)
CIE-LCHlch(25.47, 56.30, 316.55°)
OKLaboklab(37.55% 0.0944 -0.1095)
OKLCHoklch(37.55% 0.145 310.8)
XYZxyz(8.0532, 4.5678, 18.2231)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592178 #407821
analogous
#2E2178 #592178 #78216B
triadic
#592178 #785921 #217859
tetradic
#592178 #782E21 #407821 #216B78
square
#592178 #782E21 #407821 #216B78
split-complementary
#592178 #6B7821 #21782E
monochromatic
#120718 #351448 #592178 #7D2EA8 #9D47CC

Accessibility & contrast

On white

10.97
#592178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#592178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592178
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592178#FFFFFF#000000##FFFFFF
##5921781.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#143D76
Tritanopia (blue-blind)
#55344A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #592178;
/* rgb */ color: rgb(89, 33, 120);
/* oklch */ color: oklch(37.5% 0.145 310.8);
Tailwind
colors: {
  custom: {
    50: '#8b619f',
    500: '#592178',
    950: '#000000',
  },
}
SCSS
$custom: #592178;
$custom-light: #8b619f;
$custom-dark: #000000;
JSON
{
  "hex": "#592178",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 278.621,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.14458,
    "h": 310.8
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#592178
secondary
#6CAB4A
accent
#E0487E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #592178

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

Preview Lab → · Contrast checker → · Palette generator →

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