#64128A#64128A

#64128A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.181 H 311.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#64128A
RGBrgb(100, 18, 138)
HSLhsl(281, 77%, 31%)
HSVhsv(281, 87%, 54%)
CMYKcmyk(27.5%, 87%, 0%, 45.9%)
CIE-LABlab(26.67, 52.58, -48.03)
CIE-LCHlch(26.67, 71.21, 317.59°)
OKLaboklab(39.19% 0.1195 -0.1363)
OKLCHoklch(39.19% 0.181 311.2)
XYZxyz(10.0584, 4.9772, 24.4707)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64128A #388A12
analogous
#28128A #64128A #8A1274
triadic
#64128A #8A6412 #128A64
tetradic
#64128A #8A2812 #388A12 #12748A
square
#64128A #8A2812 #388A12 #12748A
split-complementary
#64128A #748A12 #128A28
monochromatic
#16041E #3D0B54 #64128A #8B19C0 #AC32E4

Accessibility & contrast

On white

10.52
#64128A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#64128A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64128A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64128A#FFFFFF#000000##FFFFFF
##64128A1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#5F3351
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #64128a;
/* rgb */ color: rgb(100, 18, 138);
/* oklch */ color: oklch(39.2% 0.181 311.2);
Tailwind
colors: {
  custom: {
    50: '#955ead',
    500: '#64128a',
    950: '#000000',
  },
}
SCSS
$custom: #64128a;
$custom-light: #955ead;
$custom-dark: #000000;
JSON
{
  "hex": "#64128a",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 138
  },
  "hsl": {
    "h": 281,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.18127,
    "h": 311.2
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#64128A
secondary
#63BF39
accent
#F33471
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64128A

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

Preview Lab → · Contrast checker → · Palette generator →

#64128A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva