#64118E#64118E

#64118E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.186 H 309.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#64118E
RGBrgb(100, 17, 142)
HSLhsl(280, 79%, 31%)
HSVhsv(280, 88%, 56%)
CMYKcmyk(29.6%, 88%, 0%, 44.3%)
CIE-LABlab(26.91, 53.69, -50.12)
CIE-LCHlch(26.91, 73.45, 316.97°)
OKLaboklab(39.47% 0.1189 -0.1424)
OKLCHoklch(39.47% 0.186 309.9)
XYZxyz(10.3375, 5.0634, 26.0187)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64118E #3B8E11
analogous
#25118E #64118E #8E1179
triadic
#64118E #8E6411 #118E64
tetradic
#64118E #8E2511 #3B8E11 #11798E
square
#64118E #8E2511 #3B8E11 #11798E
split-complementary
#64118E #798E11 #118E25
monochromatic
#170421 #3E0A57 #64118E #8A18C5 #AA33E7

Accessibility & contrast

On white

10.43
#64118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#64118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64118E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64118E#FFFFFF#000000##FFFFFF
##64118E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64118e;
/* rgb */ color: rgb(100, 17, 142);
/* oklch */ color: oklch(39.5% 0.186 309.9);
Tailwind
colors: {
  custom: {
    50: '#955db0',
    500: '#64118e',
    950: '#000000',
  },
}
SCSS
$custom: #64118e;
$custom-light: #955db0;
$custom-dark: #000000;
JSON
{
  "hex": "#64118e",
  "rgb": {
    "r": 100,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 279.84,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.18556,
    "h": 309.9
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#64118E
secondary
#67C238
accent
#F53374
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64118E

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

Preview Lab → · Contrast checker → · Palette generator →

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