#64228D#64228D

#64228D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.169 H 308.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#64228D
RGBrgb(100, 34, 141)
HSLhsl(277, 61%, 34%)
HSVhsv(277, 76%, 55%)
CMYKcmyk(29.1%, 75.9%, 0%, 44.7%)
CIE-LABlab(28.84, 47.65, -46.37)
CIE-LCHlch(28.84, 66.48, 315.78°)
OKLaboklab(40.79% 0.1056 -0.1315)
OKLCHoklch(40.79% 0.169 308.8)
XYZxyz(10.6343, 5.7767, 25.7489)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64228D #4B8D22
analogous
#2E228D #64228D #8D2281
triadic
#64228D #8D6422 #228D64
tetradic
#64228D #8D2E22 #4B8D22 #22818D
square
#64228D #8D2E22 #4B8D22 #22818D
split-complementary
#64228D #818D22 #228D2E
monochromatic
#1E0A2A #41165C #64228D #872EBE #A454D6

Accessibility & contrast

On white

9.74
#64228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#64228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64228D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64228D#FFFFFF#000000##FFFFFF
##64228D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#5E3B56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64228d;
/* rgb */ color: rgb(100, 34, 141);
/* oklch */ color: oklch(40.8% 0.169 308.8);
Tailwind
colors: {
  custom: {
    50: '#9464af',
    500: '#64228d',
    950: '#000000',
  },
}
SCSS
$custom: #64228d;
$custom-light: #9464af;
$custom-dark: #000000;
JSON
{
  "hex": "#64228d",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 277.009,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40789,
    "c": 0.1687,
    "h": 308.8
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#64228D
secondary
#79B951
accent
#E44481
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64228D

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

Preview Lab → · Contrast checker → · Palette generator →

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