#64127F#64127F

#64127F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.172 H 315.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#64127F
RGBrgb(100, 18, 127)
HSLhsl(285, 75%, 28%)
HSVhsv(285, 86%, 50%)
CMYKcmyk(21.3%, 85.8%, 0%, 50.2%)
CIE-LABlab(25.79, 50.30, -42.56)
CIE-LCHlch(25.79, 65.89, 319.77°)
OKLaboklab(38.3% 0.1223 -0.1202)
OKLCHoklch(38.3% 0.172 315.5)
XYZxyz(9.3020, 4.6746, 20.4869)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64127F #2D7F12
analogous
#2E127F #64127F #7F1263
triadic
#64127F #7F6412 #127F64
tetradic
#64127F #7F2E12 #2D7F12 #12637F
square
#64127F #7F2E12 #2D7F12 #12637F
split-complementary
#64127F #637F12 #127F2E
monochromatic
#15041B #3A0A49 #64127F #8E1AB5 #B42BE1

Accessibility & contrast

On white

10.85
#64127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64127F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64127F#FFFFFF#000000##FFFFFF
##64127F1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#0C3F7D
Tritanopia (blue-blind)
#622E4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #64127f;
/* rgb */ color: rgb(100, 18, 127);
/* oklch */ color: oklch(38.3% 0.172 315.5);
Tailwind
colors: {
  custom: {
    50: '#945da5',
    500: '#64127f',
    950: '#000000',
  },
}
SCSS
$custom: #64127f;
$custom-light: #945da5;
$custom-dark: #000000;
JSON
{
  "hex": "#64127f",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 285.138,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38301,
    "c": 0.17151,
    "h": 315.5
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#64127F
secondary
#57B538
accent
#F23665
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64127F

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

Preview Lab → · Contrast checker → · Palette generator →

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