#59198C#59198C

#59198C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.174 H 304.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#59198C
RGBrgb(89, 25, 140)
HSLhsl(273, 70%, 32%)
HSVhsv(273, 82%, 55%)
CMYKcmyk(36.4%, 82.1%, 0%, 45.1%)
CIE-LABlab(25.90, 48.97, -50.60)
CIE-LCHlch(25.90, 70.42, 314.06°)
OKLaboklab(38.36% 0.0979 -0.1443)
OKLCHoklch(38.36% 0.174 304.1)
XYZxyz(9.2000, 4.7126, 25.2308)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59198C #4C8C19
analogous
#1F198C #59198C #8C1986
triadic
#59198C #8C5919 #198C59
tetradic
#59198C #8C1F19 #4C8C19 #19868C
square
#59198C #8C1F19 #4C8C19 #19868C
split-complementary
#59198C #868C19 #198C1F
monochromatic
#170624 #381058 #59198C #7A22C0 #9842DD

Accessibility & contrast

On white

10.81
#59198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#59198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59198C
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59198C#FFFFFF#000000##FFFFFF
##59198C1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#4F3853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59198c;
/* rgb */ color: rgb(89, 25, 140);
/* oklch */ color: oklch(38.4% 0.174 304.1);
Tailwind
colors: {
  custom: {
    50: '#8d5fae',
    500: '#59198c',
    950: '#000000',
  },
}
SCSS
$custom: #59198c;
$custom-light: #8d5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#59198c",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 273.391,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.17439,
    "h": 304.1
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#59198C
secondary
#79BE43
accent
#ED3B8A
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59198C

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

Preview Lab → · Contrast checker → · Palette generator →

#59198C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva