#59198B#59198B

#59198B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.173 H 304.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#59198B
RGBrgb(89, 25, 139)
HSLhsl(274, 70%, 32%)
HSVhsv(274, 82%, 55%)
CMYKcmyk(36%, 82%, 0%, 45.5%)
CIE-LABlab(25.81, 48.73, -50.12)
CIE-LCHlch(25.81, 69.91, 314.20°)
OKLaboklab(38.27% 0.0982 -0.1429)
OKLCHoklch(38.27% 0.173 304.5)
XYZxyz(9.1266, 4.6832, 24.8442)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59198B #4B8B19
analogous
#20198B #59198B #8B1984
triadic
#59198B #8B5919 #198B59
tetradic
#59198B #8B2019 #4B8B19 #19848B
square
#59198B #8B2019 #4B8B19 #19848B
split-complementary
#59198B #848B19 #198B20
monochromatic
#170623 #381057 #59198B #7A22BF #9941DD

Accessibility & contrast

On white

10.84
#59198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59198B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59198B#FFFFFF#000000##FFFFFF
##59198B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59198b;
/* rgb */ color: rgb(89, 25, 139);
/* oklch */ color: oklch(38.3% 0.173 304.5);
Tailwind
colors: {
  custom: {
    50: '#8d5fae',
    500: '#59198b',
    950: '#000000',
  },
}
SCSS
$custom: #59198b;
$custom-light: #8d5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#59198b",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 273.684,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38271,
    "c": 0.17338,
    "h": 304.5
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#59198B
secondary
#78BE42
accent
#EC3B89
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59198B

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

Preview Lab → · Contrast checker → · Palette generator →

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