#64178B#64178B

#64178B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.178 H 310.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#64178B
RGBrgb(100, 23, 139)
HSLhsl(280, 72%, 32%)
HSVhsv(280, 83%, 55%)
CMYKcmyk(28.1%, 83.5%, 0%, 45.5%)
CIE-LABlab(27.26, 51.31, -47.69)
CIE-LCHlch(27.26, 70.05, 317.09°)
OKLaboklab(39.63% 0.1157 -0.1354)
OKLCHoklch(39.63% 0.178 310.5)
XYZxyz(10.2212, 5.1864, 24.8837)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64178B #3E8B17
analogous
#2A178B #64178B #8B1778
triadic
#64178B #8B6417 #178B64
tetradic
#64178B #8B2A17 #3E8B17 #17788B
square
#64178B #8B2A17 #3E8B17 #17788B
split-complementary
#64178B #788B17 #178B2A
monochromatic
#180622 #3E0E56 #64178B #8A20C0 #A93DDF

Accessibility & contrast

On white

10.31
#64178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64178B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64178B#FFFFFF#000000##FFFFFF
##64178B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#5F3552
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64178b;
/* rgb */ color: rgb(100, 23, 139);
/* oklch */ color: oklch(39.6% 0.178 310.5);
Tailwind
colors: {
  custom: {
    50: '#955fae',
    500: '#64178b',
    950: '#000000',
  },
}
SCSS
$custom: #64178b;
$custom-light: #955fae;
$custom-dark: #000000;
JSON
{
  "hex": "#64178b",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 279.828,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.17808,
    "h": 310.5
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#64178B
secondary
#6ABF3F
accent
#EE3976
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64178B

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

Preview Lab → · Contrast checker → · Palette generator →

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