#64278F#64278F

#64278F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.165 H 307.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#64278F
RGBrgb(100, 39, 143)
HSLhsl(275, 57%, 36%)
HSVhsv(275, 73%, 56%)
CMYKcmyk(30.1%, 72.7%, 0%, 43.9%)
CIE-LABlab(29.77, 45.91, -46.10)
CIE-LCHlch(29.77, 65.06, 314.88°)
OKLaboklab(41.5% 0.1001 -0.1308)
OKLCHoklch(41.5% 0.165 307.4)
XYZxyz(10.9379, 6.1437, 26.5909)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64278F #528F27
analogous
#30278F #64278F #8F2786
triadic
#64278F #8F6427 #278F64
tetradic
#64278F #8F3027 #528F27 #27868F
square
#64278F #8F3027 #528F27 #27868F
split-complementary
#64278F #868F27 #278F30
monochromatic
#210D2F #421A5F #64278F #8634BF #A25DD3

Accessibility & contrast

On white

9.42
#64278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#64278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64278F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64278F#FFFFFF#000000##FFFFFF
##64278F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#05478D
Tritanopia (blue-blind)
#5D3F58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64278f;
/* rgb */ color: rgb(100, 39, 143);
/* oklch */ color: oklch(41.5% 0.165 307.4);
Tailwind
colors: {
  custom: {
    50: '#9467b0',
    500: '#64278f',
    950: '#000000',
  },
}
SCSS
$custom: #64278f;
$custom-light: #9467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64278f",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 275.192,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.16472,
    "h": 307.4
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#64278F
secondary
#81B85A
accent
#E04787
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64278F

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

Preview Lab → · Contrast checker → · Palette generator →

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