#64186B#64186B

#64186B is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.148 H 324.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#64186B
RGBrgb(100, 24, 107)
HSLhsl(295, 63%, 26%)
HSVhsv(295, 78%, 42%)
CMYKcmyk(6.5%, 77.6%, 0%, 58%)
CIE-LABlab(25.03, 44.41, -30.99)
CIE-LCHlch(25.03, 54.15, 325.09°)
OKLaboklab(37.31% 0.1201 -0.0864)
OKLCHoklch(37.31% 0.148 324.3)
XYZxyz(8.2358, 4.4246, 14.3273)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64186B #1F6B18
analogous
#3A186B #64186B #6B1848
triadic
#64186B #6B6418 #186B64
tetradic
#64186B #6B3A18 #1F6B18 #18486B
square
#64186B #6B3A18 #1F6B18 #18486B
split-complementary
#64186B #486B18 #186B3A
monochromatic
#170619 #350D39 #64186B #93239D #C12ECF

Accessibility & contrast

On white

11.14
#64186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#64186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64186B
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64186B#FFFFFF#000000##FFFFFF
##64186B1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#283E69
Tritanopia (blue-blind)
#662740
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #64186b;
/* rgb */ color: rgb(100, 24, 107);
/* oklch */ color: oklch(37.3% 0.148 324.3);
Tailwind
colors: {
  custom: {
    50: '#935e96',
    500: '#64186b',
    950: '#000000',
  },
}
SCSS
$custom: #64186b;
$custom-light: #935e96;
$custom-dark: #000000;
JSON
{
  "hex": "#64186b",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 294.94,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37312,
    "c": 0.14791,
    "h": 324.3
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#64186B
secondary
#46A13E
accent
#E6414F
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #64186B

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

Preview Lab → · Contrast checker → · Palette generator →

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