#64127E#64127E

#64127E is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.2% C 0.171 H 315.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#64127E
RGBrgb(100, 18, 126)
HSLhsl(286, 75%, 28%)
HSVhsv(286, 86%, 49%)
CMYKcmyk(20.6%, 85.7%, 0%, 50.6%)
CIE-LABlab(25.71, 50.10, -42.05)
CIE-LCHlch(25.71, 65.41, 319.99°)
OKLaboklab(38.22% 0.1225 -0.1187)
OKLCHoklch(38.22% 0.171 315.9)
XYZxyz(9.2371, 4.6487, 20.1453)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64127E #2C7E12
analogous
#2E127E #64127E #7E1262
triadic
#64127E #7E6412 #127E64
tetradic
#64127E #7E2E12 #2C7E12 #12627E
square
#64127E #7E2E12 #2C7E12 #12627E
split-complementary
#64127E #627E12 #127E2E
monochromatic
#15041B #390A48 #64127E #8F1AB4 #B52AE1

Accessibility & contrast

On white

10.88
#64127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#64127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64127E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64127E#FFFFFF#000000##FFFFFF
##64127E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#0E3F7C
Tritanopia (blue-blind)
#622D4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #64127e;
/* rgb */ color: rgb(100, 18, 126);
/* oklch */ color: oklch(38.2% 0.171 315.9);
Tailwind
colors: {
  custom: {
    50: '#945da4',
    500: '#64127e',
    950: '#000000',
  },
}
SCSS
$custom: #64127e;
$custom-light: #945da4;
$custom-dark: #000000;
JSON
{
  "hex": "#64127e",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 285.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38223,
    "c": 0.17063,
    "h": 315.9
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#64127E
secondary
#56B438
accent
#F23663
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64127E

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

Preview Lab → · Contrast checker → · Palette generator →

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