#64198F#64198F

#64198F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.180 H 308.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#64198F
RGBrgb(100, 25, 143)
HSLhsl(278, 70%, 33%)
HSVhsv(278, 83%, 56%)
CMYKcmyk(30.1%, 82.5%, 0%, 43.9%)
CIE-LABlab(27.81, 51.52, -49.28)
CIE-LCHlch(27.81, 71.29, 316.28°)
OKLaboklab(40.12% 0.1131 -0.14)
OKLCHoklch(40.12% 0.18 308.9)
XYZxyz(10.5601, 5.3880, 26.4650)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64198F #448F19
analogous
#29198F #64198F #8F197F
triadic
#64198F #8F6419 #198F64
tetradic
#64198F #8F2919 #448F19 #197F8F
square
#64198F #8F2919 #448F19 #197F8F
split-complementary
#64198F #7F8F19 #198F29
monochromatic
#1B0727 #40105B #64198F #8822C3 #A644DE

Accessibility & contrast

On white

10.11
#64198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#64198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64198F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64198F#FFFFFF#000000##FFFFFF
##64198F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5D3855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #64198f;
/* rgb */ color: rgb(100, 25, 143);
/* oklch */ color: oklch(40.1% 0.180 308.9);
Tailwind
colors: {
  custom: {
    50: '#9560b1',
    500: '#64198f',
    950: '#000000',
  },
}
SCSS
$custom: #64198f;
$custom-light: #9560b1;
$custom-dark: #000000;
JSON
{
  "hex": "#64198f",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 278.136,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.18002,
    "h": 308.9
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#64198F
secondary
#71BF44
accent
#ED3B7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #64198F

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

Preview Lab → · Contrast checker → · Palette generator →

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