#64168E#64168E

#64168E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.182 H 309.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#64168E
RGBrgb(100, 22, 142)
HSLhsl(279, 73%, 32%)
HSVhsv(279, 85%, 56%)
CMYKcmyk(29.6%, 84.5%, 0%, 44.3%)
CIE-LABlab(27.40, 52.27, -49.33)
CIE-LCHlch(27.40, 71.87, 316.66°)
OKLaboklab(39.8% 0.1156 -0.1402)
OKLCHoklch(39.8% 0.182 309.5)
XYZxyz(10.4239, 5.2364, 26.0475)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64168E #408E16
analogous
#28168E #64168E #8E167C
triadic
#64168E #8E6416 #168E64
tetradic
#64168E #8E2816 #408E16 #167C8E
square
#64168E #8E2816 #408E16 #167C8E
split-complementary
#64168E #7C8E16 #168E28
monochromatic
#190624 #3F0E59 #64168E #891EC3 #A83DE1

Accessibility & contrast

On white

10.26
#64168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#64168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64168E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64168E#FFFFFF#000000##FFFFFF
##64168E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64168e;
/* rgb */ color: rgb(100, 22, 142);
/* oklch */ color: oklch(39.8% 0.182 309.5);
Tailwind
colors: {
  custom: {
    50: '#955fb0',
    500: '#64168e',
    950: '#000000',
  },
}
SCSS
$custom: #64168e;
$custom-light: #955fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64168e",
  "rgb": {
    "r": 100,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 279,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39801,
    "c": 0.18171,
    "h": 309.5
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#64168E
secondary
#6CC13F
accent
#F03878
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64168E

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

Preview Lab → · Contrast checker → · Palette generator →

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