#64158F#64158F

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

Color values

HEX#64158F
RGBrgb(100, 21, 143)
HSLhsl(279, 74%, 32%)
HSVhsv(279, 85%, 56%)
CMYKcmyk(30.1%, 85.3%, 0%, 43.9%)
CIE-LABlab(27.38, 52.79, -49.98)
CIE-LCHlch(27.38, 72.70, 316.57°)
OKLaboklab(39.81% 0.1161 -0.1421)
OKLCHoklch(39.81% 0.183 309.2)
XYZxyz(10.4806, 5.2290, 26.4385)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64158F #408F15
analogous
#27158F #64158F #8F157D
triadic
#64158F #8F6415 #158F64
tetradic
#64158F #8F2715 #408F15 #157D8F
square
#64158F #8F2715 #408F15 #157D8F
split-complementary
#64158F #7D8F15 #158F27
monochromatic
#190524 #3F0D5A #64158F #891DC4 #A83CE2

Accessibility & contrast

On white

10.26
#64158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#64158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64158F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64158F#FFFFFF#000000##FFFFFF
##64158F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5D3654
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64158f;
/* rgb */ color: rgb(100, 21, 143);
/* oklch */ color: oklch(39.8% 0.183 309.2);
Tailwind
colors: {
  custom: {
    50: '#955fb1',
    500: '#64158f',
    950: '#000000',
  },
}
SCSS
$custom: #64158f;
$custom-light: #955fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#64158f",
  "rgb": {
    "r": 100,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 278.852,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.18346,
    "h": 309.2
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#64158F
secondary
#6CC23E
accent
#F13778
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64158F

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

Preview Lab → · Contrast checker → · Palette generator →

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