#64168C#64168C

#64168C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.180 H 310.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#64168C
RGBrgb(100, 22, 140)
HSLhsl(280, 73%, 32%)
HSVhsv(280, 84%, 55%)
CMYKcmyk(28.6%, 84.3%, 0%, 45.1%)
CIE-LABlab(27.23, 51.84, -48.36)
CIE-LCHlch(27.23, 70.89, 316.99°)
OKLaboklab(39.64% 0.1162 -0.1373)
OKLCHoklch(39.64% 0.18 310.2)
XYZxyz(10.2751, 5.1768, 25.2638)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64168C #3E8C16
analogous
#29168C #64168C #8C1679
triadic
#64168C #8C6416 #168C64
tetradic
#64168C #8C2916 #3E8C16 #16798C
square
#64168C #8C2916 #3E8C16 #16798C
split-complementary
#64168C #798C16 #168C29
monochromatic
#180522 #3E0E57 #64168C #8A1EC1 #A93CE0

Accessibility & contrast

On white

10.32
#64168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64168C
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64168C#FFFFFF#000000##FFFFFF
##64168C1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#5E3553
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64168c;
/* rgb */ color: rgb(100, 22, 140);
/* oklch */ color: oklch(39.6% 0.180 310.2);
Tailwind
colors: {
  custom: {
    50: '#955fae',
    500: '#64168c',
    950: '#000000',
  },
}
SCSS
$custom: #64168c;
$custom-light: #955fae;
$custom-dark: #000000;
JSON
{
  "hex": "#64168c",
  "rgb": {
    "r": 100,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 279.661,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.17987,
    "h": 310.2
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#64168C
secondary
#6AC03E
accent
#F03876
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64168C

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

Preview Lab → · Contrast checker → · Palette generator →

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