#64186E#64186E

#64186E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.151 H 322.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#64186E
RGBrgb(100, 24, 110)
HSLhsl(293, 64%, 26%)
HSVhsv(293, 78%, 43%)
CMYKcmyk(9.1%, 78.2%, 0%, 56.9%)
CIE-LABlab(25.23, 44.99, -32.61)
CIE-LCHlch(25.23, 55.56, 324.06°)
OKLaboklab(37.52% 0.1199 -0.0911)
OKLCHoklch(37.52% 0.151 322.8)
XYZxyz(8.3964, 4.4889, 15.1730)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64186E #226E18
analogous
#39186E #64186E #6E184D
triadic
#64186E #6E6418 #186E64
tetradic
#64186E #6E3918 #226E18 #184D6E
square
#64186E #6E3918 #226E18 #184D6E
split-complementary
#64186E #4D6E18 #186E39
monochromatic
#170519 #360D3C #64186E #9223A0 #BF2FD2

Accessibility & contrast

On white

11.07
#64186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#64186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64186E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64186E#FFFFFF#000000##FFFFFF
##64186E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#263F6C
Tritanopia (blue-blind)
#652842
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #64186e;
/* rgb */ color: rgb(100, 24, 110);
/* oklch */ color: oklch(37.5% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#935e98',
    500: '#64186e',
    950: '#000000',
  },
}
SCSS
$custom: #64186e;
$custom-light: #935e98;
$custom-dark: #000000;
JSON
{
  "hex": "#64186e",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 293.023,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37516,
    "c": 0.15057,
    "h": 322.8
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#64186E
secondary
#4AA43E
accent
#E74154
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #64186E

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

Preview Lab → · Contrast checker → · Palette generator →

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