#64278C#64278C

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

Color values

HEX#64278C
RGBrgb(100, 39, 140)
HSLhsl(276, 56%, 35%)
HSVhsv(276, 72%, 55%)
CMYKcmyk(28.6%, 72.1%, 0%, 45.1%)
CIE-LABlab(29.55, 45.20, -44.60)
CIE-LCHlch(29.55, 63.50, 315.38°)
OKLaboklab(41.27% 0.1006 -0.1264)
OKLCHoklch(41.27% 0.162 308.5)
XYZxyz(10.7137, 6.0540, 25.4100)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64278C #4F8C27
analogous
#32278C #64278C #8C2781
triadic
#64278C #8C6427 #278C64
tetradic
#64278C #8C3227 #4F8C27 #27818C
square
#64278C #8C3227 #4F8C27 #27818C
split-complementary
#64278C #818C27 #278C32
monochromatic
#200C2C #421A5C #64278C #8634BC #A35CD2

Accessibility & contrast

On white

9.50
#64278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#64278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64278C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64278C#FFFFFF#000000##FFFFFF
##64278C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#0E468A
Tritanopia (blue-blind)
#5E3E57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64278c;
/* rgb */ color: rgb(100, 39, 140);
/* oklch */ color: oklch(41.3% 0.162 308.5);
Tailwind
colors: {
  custom: {
    50: '#9467ae',
    500: '#64278c',
    950: '#000000',
  },
}
SCSS
$custom: #64278c;
$custom-light: #9467ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64278c",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 276.238,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41266,
    "c": 0.16153,
    "h": 308.5
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#64278C
secondary
#7EB758
accent
#E04884
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64278C

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

Preview Lab → · Contrast checker → · Palette generator →

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