#64228A#64228A

#64228A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.166 H 309.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#64228A
RGBrgb(100, 34, 138)
HSLhsl(278, 60%, 34%)
HSVhsv(278, 75%, 54%)
CMYKcmyk(27.5%, 75.4%, 0%, 45.9%)
CIE-LABlab(28.61, 46.96, -44.88)
CIE-LCHlch(28.61, 64.95, 316.30°)
OKLaboklab(40.56% 0.1062 -0.1272)
OKLCHoklch(40.56% 0.166 309.9)
XYZxyz(10.4141, 5.6886, 24.5892)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64228A #488A22
analogous
#30228A #64228A #8A227C
triadic
#64228A #8A6422 #228A64
tetradic
#64228A #8A3022 #488A22 #227C8A
square
#64228A #8A3022 #488A22 #227C8A
split-complementary
#64228A #7C8A22 #228A30
monochromatic
#1D0A28 #401659 #64228A #882EBB #A552D4

Accessibility & contrast

On white

9.82
#64228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#64228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64228A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64228A#FFFFFF#000000##FFFFFF
##64228A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#094488
Tritanopia (blue-blind)
#5F3A54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64228a;
/* rgb */ color: rgb(100, 34, 138);
/* oklch */ color: oklch(40.6% 0.166 309.9);
Tailwind
colors: {
  custom: {
    50: '#9464ad',
    500: '#64228a',
    950: '#000000',
  },
}
SCSS
$custom: #64228a;
$custom-light: #9464ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64228a",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 278.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.16566,
    "h": 309.9
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#64228A
secondary
#76B850
accent
#E4447E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64228A

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

Preview Lab → · Contrast checker → · Palette generator →

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