#64179E#64179E

#64179E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.196 H 304.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#64179E
RGBrgb(100, 23, 158)
HSLhsl(274, 75%, 35%)
HSVhsv(274, 85%, 62%)
CMYKcmyk(36.7%, 85.4%, 0%, 38%)
CIE-LABlab(28.88, 55.51, -56.75)
CIE-LCHlch(28.88, 79.38, 314.37°)
OKLaboklab(41.25% 0.11 -0.162)
OKLCHoklch(41.25% 0.196 304.2)
XYZxyz(11.7320, 5.7908, 32.8408)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64179E #519E17
analogous
#20179E #64179E #9E1794
triadic
#64179E #9E6417 #179E64
tetradic
#64179E #9E2017 #519E17 #17949E
square
#64179E #9E2017 #519E17 #17949E
split-complementary
#64179E #949E17 #179E20
monochromatic
#200733 #420F69 #64179E #861FD3 #A34BE5

Accessibility & contrast

On white

9.73
#64179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#64179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64179E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64179E#FFFFFF#000000##FFFFFF
##64179E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#583E5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64179e;
/* rgb */ color: rgb(100, 23, 158);
/* oklch */ color: oklch(41.3% 0.196 304.2);
Tailwind
colors: {
  custom: {
    50: '#9660bc',
    500: '#64179e',
    950: '#000000',
  },
}
SCSS
$custom: #64179e;
$custom-light: #9660bc;
$custom-dark: #000000;
JSON
{
  "hex": "#64179e",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 274.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.19581,
    "h": 304.2
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#64179E
secondary
#80C64A
accent
#F13787
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #64179E

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

Preview Lab → · Contrast checker → · Palette generator →

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