#64107E#64107E

#64107E is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.172 H 316.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#64107E
RGBrgb(100, 16, 126)
HSLhsl(286, 77%, 28%)
HSVhsv(286, 87%, 49%)
CMYKcmyk(20.6%, 87.3%, 0%, 50.6%)
CIE-LABlab(25.52, 50.64, -42.35)
CIE-LCHlch(25.52, 66.02, 320.09°)
OKLaboklab(38.09% 0.1239 -0.1196)
OKLCHoklch(38.09% 0.172 316)
XYZxyz(9.2061, 4.5866, 20.1350)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64107E #2A7E10
analogous
#2D107E #64107E #7E1061
triadic
#64107E #7E6410 #107E64
tetradic
#64107E #7E2D10 #2A7E10 #10617E
square
#64107E #7E2D10 #2A7E10 #10617E
split-complementary
#64107E #617E10 #107E2D
monochromatic
#16031B #390948 #64107E #8F17B4 #B625E3

Accessibility & contrast

On white

10.95
#64107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#64107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64107E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64107E#FFFFFF#000000##FFFFFF
##64107E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#0C3F7C
Tritanopia (blue-blind)
#622C4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #64107e;
/* rgb */ color: rgb(100, 16, 126);
/* oklch */ color: oklch(38.1% 0.172 316.0);
Tailwind
colors: {
  custom: {
    50: '#945ca4',
    500: '#64107e',
    950: '#000000',
  },
}
SCSS
$custom: #64107e;
$custom-light: #945ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#64107e",
  "rgb": {
    "r": 100,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 285.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.17222,
    "h": 316
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#64107E
secondary
#53B436
accent
#F43461
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64107E

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

Preview Lab → · Contrast checker → · Palette generator →

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