#64198E#64198E

#64198E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.179 H 309.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#64198E
RGBrgb(100, 25, 142)
HSLhsl(278, 70%, 33%)
HSVhsv(278, 82%, 56%)
CMYKcmyk(29.6%, 82.4%, 0%, 44.3%)
CIE-LABlab(27.73, 51.30, -48.79)
CIE-LCHlch(27.73, 70.80, 316.44°)
OKLaboklab(40.03% 0.1134 -0.1386)
OKLCHoklch(40.03% 0.179 309.3)
XYZxyz(10.4847, 5.3578, 26.0678)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64198E #438E19
analogous
#2A198E #64198E #8E197D
triadic
#64198E #8E6419 #198E64
tetradic
#64198E #8E2A19 #438E19 #197D8E
square
#64198E #8E2A19 #438E19 #197D8E
split-complementary
#64198E #7D8E19 #198E2A
monochromatic
#1B0726 #3F105A #64198E #8922C2 #A643DE

Accessibility & contrast

On white

10.14
#64198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#64198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64198E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64198E#FFFFFF#000000##FFFFFF
##64198E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#5E3854
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64198e;
/* rgb */ color: rgb(100, 25, 142);
/* oklch */ color: oklch(40.0% 0.179 309.3);
Tailwind
colors: {
  custom: {
    50: '#9560b0',
    500: '#64198e',
    950: '#000000',
  },
}
SCSS
$custom: #64198e;
$custom-light: #9560b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64198e",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 278.462,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.17907,
    "h": 309.3
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#64198E
secondary
#70BF44
accent
#ED3B7B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #64198E

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

Preview Lab → · Contrast checker → · Palette generator →

#64198E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva