#64126A#64126A

#64126A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.153 H 325.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#64126A
RGBrgb(100, 18, 106)
HSLhsl(296, 71%, 24%)
HSVhsv(296, 83%, 42%)
CMYKcmyk(5.7%, 83%, 0%, 58.4%)
CIE-LABlab(24.27, 46.22, -31.55)
CIE-LCHlch(24.27, 55.96, 325.68°)
OKLaboklab(36.75% 0.1256 -0.088)
OKLCHoklch(36.75% 0.153 325)
XYZxyz(8.0732, 4.1831, 14.0151)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64126A #186A12
analogous
#38126A #64126A #6A1244
triadic
#64126A #6A6412 #126A64
tetradic
#64126A #6A3812 #186A12 #12446A
square
#64126A #6A3812 #186A12 #12446A
split-complementary
#64126A #446A12 #126A38
monochromatic
#19041A #330936 #64126A #951B9E #C724D3

Accessibility & contrast

On white

11.43
#64126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#64126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64126A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64126A#FFFFFF#000000##FFFFFF
##64126A1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#263D68
Tritanopia (blue-blind)
#66233E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #64126a;
/* rgb */ color: rgb(100, 18, 106);
/* oklch */ color: oklch(36.8% 0.153 325.0);
Tailwind
colors: {
  custom: {
    50: '#935c95',
    500: '#64126a',
    950: '#000000',
  },
}
SCSS
$custom: #64126a;
$custom-light: #935c95;
$custom-dark: #000000;
JSON
{
  "hex": "#64126a",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 295.909,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3675,
    "c": 0.15339,
    "h": 325
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#64126A
secondary
#3EA236
accent
#EE3A46
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #64126A

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

Preview Lab → · Contrast checker → · Palette generator →

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