#64278B#64278B

#64278B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.160 H 308.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#64278B
RGBrgb(100, 39, 139)
HSLhsl(277, 56%, 35%)
HSVhsv(277, 72%, 55%)
CMYKcmyk(28.1%, 71.9%, 0%, 45.5%)
CIE-LABlab(29.47, 44.97, -44.10)
CIE-LCHlch(29.47, 62.98, 315.56°)
OKLaboklab(41.19% 0.1007 -0.1249)
OKLCHoklch(41.19% 0.16 308.9)
XYZxyz(10.6403, 6.0246, 25.0234)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64278B #4E8B27
analogous
#32278B #64278B #8B2780
triadic
#64278B #8B6427 #278B64
tetradic
#64278B #8B3227 #4E8B27 #27808B
square
#64278B #8B3227 #4E8B27 #27808B
split-complementary
#64278B #808B27 #278B32
monochromatic
#1F0C2B #421A5B #64278B #8634BB #A35BD1

Accessibility & contrast

On white

9.52
#64278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64278B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64278B#FFFFFF#000000##FFFFFF
##64278B1.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#5E3D56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #64278b;
/* rgb */ color: rgb(100, 39, 139);
/* oklch */ color: oklch(41.2% 0.160 308.9);
Tailwind
colors: {
  custom: {
    50: '#9467ae',
    500: '#64278b',
    950: '#000000',
  },
}
SCSS
$custom: #64278b;
$custom-light: #9467ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64278b",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 276.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.16047,
    "h": 308.9
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#64278B
secondary
#7DB658
accent
#DF4883
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64278B

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

Preview Lab → · Contrast checker → · Palette generator →

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