#64178C#64178C

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

Color values

HEX#64178C
RGBrgb(100, 23, 140)
HSLhsl(279, 72%, 32%)
HSVhsv(279, 84%, 55%)
CMYKcmyk(28.6%, 83.6%, 0%, 45.1%)
CIE-LABlab(27.34, 51.52, -48.18)
CIE-LCHlch(27.34, 70.54, 316.92°)
OKLaboklab(39.71% 0.1155 -0.1368)
OKLCHoklch(39.71% 0.179 310.2)
XYZxyz(10.2946, 5.2158, 25.2703)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64178C #3F8C17
analogous
#2A178C #64178C #8C177A
triadic
#64178C #8C6417 #178C64
tetradic
#64178C #8C2A17 #3F8C17 #177A8C
square
#64178C #8C2A17 #3F8C17 #177A8C
split-complementary
#64178C #7A8C17 #178C2A
monochromatic
#190623 #3E0E57 #64178C #8A20C1 #A83EDF

Accessibility & contrast

On white

10.28
#64178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64178C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64178C#FFFFFF#000000##FFFFFF
##64178C1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#5E3653
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64178c;
/* rgb */ color: rgb(100, 23, 140);
/* oklch */ color: oklch(39.7% 0.179 310.2);
Tailwind
colors: {
  custom: {
    50: '#955fae',
    500: '#64178c',
    950: '#000000',
  },
}
SCSS
$custom: #64178c;
$custom-light: #955fae;
$custom-dark: #000000;
JSON
{
  "hex": "#64178c",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 279.487,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39711,
    "c": 0.17901,
    "h": 310.2
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#64178C
secondary
#6BBF3F
accent
#EF3977
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64178C

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

Preview Lab → · Contrast checker → · Palette generator →

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