#64158E#64158E

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

Color values

HEX#64158E
RGBrgb(100, 21, 142)
HSLhsl(279, 74%, 32%)
HSVhsv(279, 85%, 56%)
CMYKcmyk(29.6%, 85.2%, 0%, 44.3%)
CIE-LABlab(27.29, 52.58, -49.50)
CIE-LCHlch(27.29, 72.21, 316.73°)
OKLaboklab(39.73% 0.1163 -0.1407)
OKLCHoklch(39.73% 0.183 309.6)
XYZxyz(10.4052, 5.1989, 26.0413)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64158E #3F8E15
analogous
#28158E #64158E #8E157B
triadic
#64158E #8E6415 #158E64
tetradic
#64158E #8E2815 #3F8E15 #157B8E
square
#64158E #8E2815 #3F8E15 #157B8E
split-complementary
#64158E #7B8E15 #158E28
monochromatic
#190523 #3E0D59 #64158E #8A1DC3 #A83BE2

Accessibility & contrast

On white

10.30
#64158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#64158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64158E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64158E#FFFFFF#000000##FFFFFF
##64158E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.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: #64158e;
/* rgb */ color: rgb(100, 21, 142);
/* oklch */ color: oklch(39.7% 0.183 309.6);
Tailwind
colors: {
  custom: {
    50: '#955fb0',
    500: '#64158e',
    950: '#000000',
  },
}
SCSS
$custom: #64158e;
$custom-light: #955fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64158e",
  "rgb": {
    "r": 100,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 279.174,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39729,
    "c": 0.18254,
    "h": 309.6
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#64158E
secondary
#6BC23D
accent
#F13777
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64158E

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

Preview Lab → · Contrast checker → · Palette generator →

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