#64168F#64168F

#64168F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.183 H 309.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#64168F
RGBrgb(100, 22, 143)
HSLhsl(279, 73%, 32%)
HSVhsv(279, 85%, 56%)
CMYKcmyk(30.1%, 84.6%, 0%, 43.9%)
CIE-LABlab(27.48, 52.49, -49.82)
CIE-LCHlch(27.48, 72.37, 316.50°)
OKLaboklab(39.89% 0.1154 -0.1416)
OKLCHoklch(39.89% 0.183 309.2)
XYZxyz(10.4993, 5.2665, 26.4447)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64168F #418F16
analogous
#28168F #64168F #8F167D
triadic
#64168F #8F6416 #168F64
tetradic
#64168F #8F2816 #418F16 #167D8F
square
#64168F #8F2816 #418F16 #167D8F
split-complementary
#64168F #7D8F16 #168F28
monochromatic
#1A0625 #3F0E5A #64168F #891EC4 #A73EE1

Accessibility & contrast

On white

10.23
#64168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64168F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64168F#FFFFFF#000000##FFFFFF
##64168F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5D3754
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64168f;
/* rgb */ color: rgb(100, 22, 143);
/* oklch */ color: oklch(39.9% 0.183 309.2);
Tailwind
colors: {
  custom: {
    50: '#955fb1',
    500: '#64168f',
    950: '#000000',
  },
}
SCSS
$custom: #64168f;
$custom-light: #955fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#64168f",
  "rgb": {
    "r": 100,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 278.678,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.18264,
    "h": 309.2
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#64168F
secondary
#6EC13F
accent
#F03879
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64168F

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

Preview Lab → · Contrast checker → · Palette generator →

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