#64198D#64198D

#64198D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.178 H 309.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#64198D
RGBrgb(100, 25, 141)
HSLhsl(279, 70%, 33%)
HSVhsv(279, 82%, 55%)
CMYKcmyk(29.1%, 82.3%, 0%, 44.7%)
CIE-LABlab(27.65, 51.08, -48.30)
CIE-LCHlch(27.65, 70.30, 316.60°)
OKLaboklab(39.95% 0.1137 -0.1372)
OKLCHoklch(39.95% 0.178 309.6)
XYZxyz(10.4099, 5.3279, 25.6741)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64198D #428D19
analogous
#2A198D #64198D #8D197C
triadic
#64198D #8D6419 #198D64
tetradic
#64198D #8D2A19 #428D19 #197C8D
square
#64198D #8D2A19 #428D19 #197C8D
split-complementary
#64198D #7C8D19 #198D2A
monochromatic
#1A0725 #3F1059 #64198D #8922C1 #A743DE

Accessibility & contrast

On white

10.17
#64198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64198D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64198D#FFFFFF#000000##FFFFFF
##64198D1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#5E3754
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64198d;
/* rgb */ color: rgb(100, 25, 141);
/* oklch */ color: oklch(40.0% 0.178 309.6);
Tailwind
colors: {
  custom: {
    50: '#9560af',
    500: '#64198d',
    950: '#000000',
  },
}
SCSS
$custom: #64198d;
$custom-light: #9560af;
$custom-dark: #000000;
JSON
{
  "hex": "#64198d",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 278.793,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.17813,
    "h": 309.6
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#64198D
secondary
#6FBF43
accent
#ED3B7A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #64198D

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

Preview Lab → · Contrast checker → · Palette generator →

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