#64288C#64288C

#64288C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.160 H 308.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#64288C
RGBrgb(100, 40, 140)
HSLhsl(276, 56%, 35%)
HSVhsv(276, 71%, 55%)
CMYKcmyk(28.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(29.71, 44.73, -44.33)
CIE-LCHlch(29.71, 62.98, 315.26°)
OKLaboklab(41.39% 0.0995 -0.1256)
OKLCHoklch(41.39% 0.16 308.4)
XYZxyz(10.7470, 6.1205, 25.4211)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64288C #508C28
analogous
#32288C #64288C #8C2882
triadic
#64288C #8C6428 #288C64
tetradic
#64288C #8C3228 #508C28 #28828C
square
#64288C #8C3228 #508C28 #28828C
split-complementary
#64288C #828C28 #288C32
monochromatic
#200D2D #421A5C #64288C #8636BC #A35ED1

Accessibility & contrast

On white

9.44
#64288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#64288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64288C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64288C#FFFFFF#000000##FFFFFF
##64288C1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#10478A
Tritanopia (blue-blind)
#5E3E57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64288c;
/* rgb */ color: rgb(100, 40, 140);
/* oklch */ color: oklch(41.4% 0.160 308.4);
Tailwind
colors: {
  custom: {
    50: '#9467ae',
    500: '#64288c',
    950: '#000000',
  },
}
SCSS
$custom: #64288c;
$custom-light: #9467ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64288c",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.16024,
    "h": 308.4
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#64288C
secondary
#7FB65A
accent
#DF4985
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64288C

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

Preview Lab → · Contrast checker → · Palette generator →

#64288C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva