#64278D#64278D

#64278D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.163 H 308.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#64278D
RGBrgb(100, 39, 141)
HSLhsl(276, 57%, 35%)
HSVhsv(276, 72%, 55%)
CMYKcmyk(29.1%, 72.3%, 0%, 44.7%)
CIE-LABlab(29.62, 45.44, -45.10)
CIE-LCHlch(29.62, 64.02, 315.21°)
OKLaboklab(41.34% 0.1005 -0.1279)
OKLCHoklch(41.34% 0.163 308.2)
XYZxyz(10.7878, 6.0836, 25.8001)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64278D #508D27
analogous
#31278D #64278D #8D2783
triadic
#64278D #8D6427 #278D64
tetradic
#64278D #8D3127 #508D27 #27838D
square
#64278D #8D3127 #508D27 #27838D
split-complementary
#64278D #838D27 #278D31
monochromatic
#200C2D #421A5D #64278D #8634BD #A35CD2

Accessibility & contrast

On white

9.47
#64278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#64278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64278D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64278D#FFFFFF#000000##FFFFFF
##64278D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#0C468B
Tritanopia (blue-blind)
#5E3E57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64278d;
/* rgb */ color: rgb(100, 39, 141);
/* oklch */ color: oklch(41.3% 0.163 308.2);
Tailwind
colors: {
  custom: {
    50: '#9467af',
    500: '#64278d',
    950: '#000000',
  },
}
SCSS
$custom: #64278d;
$custom-light: #9467af;
$custom-dark: #000000;
JSON
{
  "hex": "#64278d",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 275.882,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41343,
    "c": 0.1626,
    "h": 308.2
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#64278D
secondary
#7FB759
accent
#E04885
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64278D

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

Preview Lab → · Contrast checker → · Palette generator →

#64278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva