#64158D#64158D

#64158D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.182 H 310.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#64158D
RGBrgb(100, 21, 141)
HSLhsl(280, 74%, 32%)
HSVhsv(280, 85%, 55%)
CMYKcmyk(29.1%, 85.1%, 0%, 44.7%)
CIE-LABlab(27.21, 52.36, -49.02)
CIE-LCHlch(27.21, 71.72, 316.89°)
OKLaboklab(39.65% 0.1166 -0.1392)
OKLCHoklch(39.65% 0.182 310)
XYZxyz(10.3305, 5.1690, 25.6477)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64158D #3E8D15
analogous
#28158D #64158D #8D157A
triadic
#64158D #8D6415 #158D64
tetradic
#64158D #8D2815 #3E8D15 #157A8D
square
#64158D #8D2815 #3E8D15 #157A8D
split-complementary
#64158D #7A8D15 #158D28
monochromatic
#180522 #3E0D58 #64158D #8A1DC2 #A93BE2

Accessibility & contrast

On white

10.33
#64158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#64158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64158D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64158D#FFFFFF#000000##FFFFFF
##64158D1.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)
#003D90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#5E3653
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64158d;
/* rgb */ color: rgb(100, 21, 141);
/* oklch */ color: oklch(39.6% 0.182 310.0);
Tailwind
colors: {
  custom: {
    50: '#955faf',
    500: '#64158d',
    950: '#000000',
  },
}
SCSS
$custom: #64158d;
$custom-light: #955faf;
$custom-dark: #000000;
JSON
{
  "hex": "#64158d",
  "rgb": {
    "r": 100,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 279.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39646,
    "c": 0.18162,
    "h": 310
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#64158D
secondary
#6AC13D
accent
#F13777
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64158D

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

Preview Lab → · Contrast checker → · Palette generator →

#64158D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva