#64278E#64278E

#64278E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.164 H 307.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#64278E
RGBrgb(100, 39, 142)
HSLhsl(276, 57%, 35%)
HSVhsv(276, 73%, 56%)
CMYKcmyk(29.6%, 72.5%, 0%, 44.3%)
CIE-LABlab(29.70, 45.67, -45.60)
CIE-LCHlch(29.70, 64.54, 315.05°)
OKLaboklab(41.42% 0.1003 -0.1293)
OKLCHoklch(41.42% 0.164 307.8)
XYZxyz(10.8625, 6.1135, 26.1937)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64278E #518E27
analogous
#30278E #64278E #8E2784
triadic
#64278E #8E6427 #278E64
tetradic
#64278E #8E3027 #518E27 #27848E
square
#64278E #8E3027 #518E27 #27848E
split-complementary
#64278E #848E27 #278E30
monochromatic
#200D2E #421A5E #64278E #8634BE #A35DD2

Accessibility & contrast

On white

9.45
#64278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64278E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64278E#FFFFFF#000000##FFFFFF
##64278E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#09478C
Tritanopia (blue-blind)
#5D3E58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64278e;
/* rgb */ color: rgb(100, 39, 142);
/* oklch */ color: oklch(41.4% 0.164 307.8);
Tailwind
colors: {
  custom: {
    50: '#9467b0',
    500: '#64278e',
    950: '#000000',
  },
}
SCSS
$custom: #64278e;
$custom-light: #9467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64278e",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 275.534,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.16366,
    "h": 307.8
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#64278E
secondary
#80B859
accent
#E04886
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64278E

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

Preview Lab → · Contrast checker → · Palette generator →

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