#64168D#64168D

#64168D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.181 H 309.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#64168D
RGBrgb(100, 22, 141)
HSLhsl(279, 73%, 32%)
HSVhsv(279, 84%, 55%)
CMYKcmyk(29.1%, 84.4%, 0%, 44.7%)
CIE-LABlab(27.32, 52.06, -48.85)
CIE-LCHlch(27.32, 71.38, 316.82°)
OKLaboklab(39.72% 0.1159 -0.1387)
OKLCHoklch(39.72% 0.181 309.9)
XYZxyz(10.3492, 5.2065, 25.6539)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64168D #3F8D16
analogous
#29168D #64168D #8D167B
triadic
#64168D #8D6416 #168D64
tetradic
#64168D #8D2916 #3F8D16 #167B8D
square
#64168D #8D2916 #3F8D16 #167B8D
split-complementary
#64168D #7B8D16 #168D29
monochromatic
#190523 #3E0E58 #64168D #8A1EC2 #A83DE1

Accessibility & contrast

On white

10.29
#64168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#64168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64168D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64168D#FFFFFF#000000##FFFFFF
##64168D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64168d;
/* rgb */ color: rgb(100, 22, 141);
/* oklch */ color: oklch(39.7% 0.181 309.9);
Tailwind
colors: {
  custom: {
    50: '#955faf',
    500: '#64168d',
    950: '#000000',
  },
}
SCSS
$custom: #64168d;
$custom-light: #955faf;
$custom-dark: #000000;
JSON
{
  "hex": "#64168d",
  "rgb": {
    "r": 100,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 279.328,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.18079,
    "h": 309.9
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#64168D
secondary
#6BC13E
accent
#F03877
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64168D

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

Preview Lab → · Contrast checker → · Palette generator →

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