#64178F#64178F

#64178F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.182 H 309.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#64178F
RGBrgb(100, 23, 143)
HSLhsl(279, 72%, 33%)
HSVhsv(279, 84%, 56%)
CMYKcmyk(30.1%, 83.9%, 0%, 43.9%)
CIE-LABlab(27.59, 52.18, -49.64)
CIE-LCHlch(27.59, 72.02, 316.43°)
OKLaboklab(39.96% 0.1146 -0.1411)
OKLCHoklch(39.96% 0.182 309.1)
XYZxyz(10.5188, 5.3055, 26.4512)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64178F #428F17
analogous
#28178F #64178F #8F177E
triadic
#64178F #8F6417 #178F64
tetradic
#64178F #8F2817 #428F17 #177E8F
square
#64178F #8F2817 #428F17 #177E8F
split-complementary
#64178F #7E8F17 #178F28
monochromatic
#1A0626 #3F0F5A #64178F #891FC4 #A740E0

Accessibility & contrast

On white

10.19
#64178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64178F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64178F#FFFFFF#000000##FFFFFF
##64178F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64178f;
/* rgb */ color: rgb(100, 23, 143);
/* oklch */ color: oklch(40.0% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#9560b1',
    500: '#64178f',
    950: '#000000',
  },
}
SCSS
$custom: #64178f;
$custom-light: #9560b1;
$custom-dark: #000000;
JSON
{
  "hex": "#64178f",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 278.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3996,
    "c": 0.18179,
    "h": 309.1
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#64178F
secondary
#6FC141
accent
#EF397A
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64178F

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

Preview Lab → · Contrast checker → · Palette generator →

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