#64178E#64178E

#64178E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.181 H 309.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#64178E
RGBrgb(100, 23, 142)
HSLhsl(279, 72%, 32%)
HSVhsv(279, 84%, 56%)
CMYKcmyk(29.6%, 83.8%, 0%, 44.3%)
CIE-LABlab(27.51, 51.96, -49.16)
CIE-LCHlch(27.51, 71.53, 316.59°)
OKLaboklab(39.88% 0.1149 -0.1397)
OKLCHoklch(39.88% 0.181 309.4)
XYZxyz(10.4434, 5.2753, 26.0540)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64178E #418E17
analogous
#29178E #64178E #8E177C
triadic
#64178E #8E6417 #178E64
tetradic
#64178E #8E2917 #418E17 #177C8E
square
#64178E #8E2917 #418E17 #177C8E
split-complementary
#64178E #7C8E17 #178E29
monochromatic
#1A0625 #3F0E59 #64178E #8920C3 #A73FE0

Accessibility & contrast

On white

10.22
#64178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#64178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64178E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64178E#FFFFFF#000000##FFFFFF
##64178E1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64178e;
/* rgb */ color: rgb(100, 23, 142);
/* oklch */ color: oklch(39.9% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#955fb0',
    500: '#64178e',
    950: '#000000',
  },
}
SCSS
$custom: #64178e;
$custom-light: #955fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64178e",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 278.824,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.18086,
    "h": 309.4
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#64178E
secondary
#6EC040
accent
#EF3979
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64178E

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

Preview Lab → · Contrast checker → · Palette generator →

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