#64157B#64157B

#64157B is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.165 H 317.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#64157B
RGBrgb(100, 21, 123)
HSLhsl(286, 71%, 28%)
HSVhsv(286, 83%, 48%)
CMYKcmyk(18.7%, 82.9%, 0%, 51.8%)
CIE-LABlab(25.79, 48.59, -40.02)
CIE-LCHlch(25.79, 62.95, 320.52°)
OKLaboklab(38.21% 0.1209 -0.1128)
OKLCHoklch(38.21% 0.165 317)
XYZxyz(9.0983, 4.6761, 19.1584)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64157B #2C7B15
analogous
#31157B #64157B #7B155F
triadic
#64157B #7B6415 #157B64
tetradic
#64157B #7B3115 #2C7B15 #155F7B
square
#64157B #7B3115 #2C7B15 #155F7B
split-complementary
#64157B #5F7B15 #157B31
monochromatic
#15041A #390C47 #64157B #8E1EAF #B52FDB

Accessibility & contrast

On white

10.85
#64157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#64157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64157B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64157B#FFFFFF#000000##FFFFFF
##64157B1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#163F79
Tritanopia (blue-blind)
#632D49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #64157b;
/* rgb */ color: rgb(100, 21, 123);
/* oklch */ color: oklch(38.2% 0.165 317.0);
Tailwind
colors: {
  custom: {
    50: '#945ea2',
    500: '#64157b',
    950: '#000000',
  },
}
SCSS
$custom: #64157b;
$custom-light: #945ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#64157b",
  "rgb": {
    "r": 100,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 286.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.16531,
    "h": 317
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#64157B
secondary
#56B03B
accent
#EE3A63
background
#F9F5FA
surface
#F2E9F3
border
#CCC5CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64157B

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

Preview Lab → · Contrast checker → · Palette generator →

#64157B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva