#64148E#64148E

#64148E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.183 H 309.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#64148E
RGBrgb(100, 20, 142)
HSLhsl(279, 75%, 32%)
HSVhsv(279, 86%, 56%)
CMYKcmyk(29.6%, 85.9%, 0%, 44.3%)
CIE-LABlab(27.19, 52.87, -49.66)
CIE-LCHlch(27.19, 72.54, 316.79°)
OKLaboklab(39.66% 0.117 -0.1411)
OKLCHoklch(39.66% 0.183 309.7)
XYZxyz(10.3872, 5.1629, 26.0353)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64148E #3E8E14
analogous
#27148E #64148E #8E147B
triadic
#64148E #8E6414 #148E64
tetradic
#64148E #8E2714 #3E8E14 #147B8E
square
#64148E #8E2714 #3E8E14 #147B8E
split-complementary
#64148E #7B8E14 #148E27
monochromatic
#180523 #3E0C58 #64148E #8A1CC4 #A939E3

Accessibility & contrast

On white

10.33
#64148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#64148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64148E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64148E#FFFFFF#000000##FFFFFF
##64148E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#5E3654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64148e;
/* rgb */ color: rgb(100, 20, 142);
/* oklch */ color: oklch(39.7% 0.183 309.7);
Tailwind
colors: {
  custom: {
    50: '#955eb0',
    500: '#64148e',
    950: '#000000',
  },
}
SCSS
$custom: #64148e;
$custom-light: #955eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64148e",
  "rgb": {
    "r": 100,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 279.344,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.18333,
    "h": 309.7
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#64148E
secondary
#6AC23C
accent
#F23677
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64148E

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

Preview Lab → · Contrast checker → · Palette generator →

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