#64278A#64278A

#64278A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.159 H 309.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#64278A
RGBrgb(100, 39, 138)
HSLhsl(277, 56%, 35%)
HSVhsv(277, 72%, 54%)
CMYKcmyk(27.5%, 71.7%, 0%, 45.9%)
CIE-LABlab(29.40, 44.73, -43.60)
CIE-LCHlch(29.40, 62.47, 315.73°)
OKLaboklab(41.12% 0.1009 -0.1234)
OKLCHoklch(41.12% 0.159 309.3)
XYZxyz(10.5676, 5.9955, 24.6404)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64278A #4D8A27
analogous
#33278A #64278A #8A277E
triadic
#64278A #8A6427 #278A64
tetradic
#64278A #8A3327 #4D8A27 #277E8A
square
#64278A #8A3327 #4D8A27 #277E8A
split-complementary
#64278A #7E8A27 #278A33
monochromatic
#1F0C2B #411A5A #64278A #8734BA #A35BD1

Accessibility & contrast

On white

9.55
#64278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#64278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64278A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64278A#FFFFFF#000000##FFFFFF
##64278A1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#5E3D55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #64278a;
/* rgb */ color: rgb(100, 39, 138);
/* oklch */ color: oklch(41.1% 0.159 309.3);
Tailwind
colors: {
  custom: {
    50: '#9467ad',
    500: '#64278a',
    950: '#000000',
  },
}
SCSS
$custom: #64278a;
$custom-light: #9467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64278a",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 276.97,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41115,
    "c": 0.15941,
    "h": 309.3
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#64278A
secondary
#7BB657
accent
#DF4982
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64278A

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

Preview Lab → · Contrast checker → · Palette generator →

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