#64198C#64198C

#64198C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.177 H 310.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#64198C
RGBrgb(100, 25, 140)
HSLhsl(279, 70%, 32%)
HSVhsv(279, 82%, 55%)
CMYKcmyk(28.6%, 82.1%, 0%, 45.1%)
CIE-LABlab(27.57, 50.86, -47.81)
CIE-LCHlch(27.57, 69.81, 316.77°)
OKLaboklab(39.87% 0.1139 -0.1357)
OKLCHoklch(39.87% 0.177 310)
XYZxyz(10.3358, 5.2983, 25.2840)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64198C #418C19
analogous
#2A198C #64198C #8C197B
triadic
#64198C #8C6419 #198C64
tetradic
#64198C #8C2A19 #418C19 #197B8C
square
#64198C #8C2A19 #418C19 #197B8C
split-complementary
#64198C #7B8C19 #198C2A
monochromatic
#1A0624 #3F1058 #64198C #8922C0 #A742DD

Accessibility & contrast

On white

10.20
#64198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#64198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64198C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64198C#FFFFFF#000000##FFFFFF
##64198C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#5E3753
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64198c;
/* rgb */ color: rgb(100, 25, 140);
/* oklch */ color: oklch(39.9% 0.177 310.0);
Tailwind
colors: {
  custom: {
    50: '#9560ae',
    500: '#64198c',
    950: '#000000',
  },
}
SCSS
$custom: #64198c;
$custom-light: #9560ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64198c",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 279.13,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39869,
    "c": 0.17719,
    "h": 310
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#64198C
secondary
#6EBE43
accent
#ED3B79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #64198C

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

Preview Lab → · Contrast checker → · Palette generator →

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