#64128F#64128F

#64128F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.186 H 309.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#64128F
RGBrgb(100, 18, 143)
HSLhsl(279, 78%, 32%)
HSVhsv(279, 87%, 56%)
CMYKcmyk(30.1%, 87.4%, 0%, 43.9%)
CIE-LABlab(27.09, 53.64, -50.46)
CIE-LCHlch(27.09, 73.64, 316.75°)
OKLaboklab(39.61% 0.118 -0.1434)
OKLCHoklch(39.61% 0.186 309.4)
XYZxyz(10.4287, 5.1253, 26.4212)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64128F #3D8F12
analogous
#26128F #64128F #8F127C
triadic
#64128F #8F6412 #128F64
tetradic
#64128F #8F2612 #3D8F12 #127C8F
square
#64128F #8F2612 #3D8F12 #127C8F
split-complementary
#64128F #7C8F12 #128F26
monochromatic
#180422 #3E0B59 #64128F #8A19C5 #A936E6

Accessibility & contrast

On white

10.37
#64128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#64128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64128F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64128F#FFFFFF#000000##FFFFFF
##64128F1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#5D3554
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64128f;
/* rgb */ color: rgb(100, 18, 143);
/* oklch */ color: oklch(39.6% 0.186 309.4);
Tailwind
colors: {
  custom: {
    50: '#955eb1',
    500: '#64128f',
    950: '#000000',
  },
}
SCSS
$custom: #64128f;
$custom-light: #955eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#64128f",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 279.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.18575,
    "h": 309.4
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#64128F
secondary
#69C33A
accent
#F43476
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64128F

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

Preview Lab → · Contrast checker → · Palette generator →

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