#64228C#64228C

#64228C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.168 H 309.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#64228C
RGBrgb(100, 34, 140)
HSLhsl(277, 61%, 34%)
HSVhsv(277, 76%, 55%)
CMYKcmyk(28.6%, 75.7%, 0%, 45.1%)
CIE-LABlab(28.77, 47.42, -45.87)
CIE-LCHlch(28.77, 65.97, 315.95°)
OKLaboklab(40.71% 0.1058 -0.1301)
OKLCHoklch(40.71% 0.168 309.1)
XYZxyz(10.5602, 5.7470, 25.3588)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64228C #4A8C22
analogous
#2F228C #64228C #8C227F
triadic
#64228C #8C6422 #228C64
tetradic
#64228C #8C2F22 #4A8C22 #227F8C
square
#64228C #8C2F22 #4A8C22 #227F8C
split-complementary
#64228C #7F8C22 #228C2F
monochromatic
#1E0A2A #41165B #64228C #872EBD #A453D5

Accessibility & contrast

On white

9.77
#64228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#64228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64228C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64228C#FFFFFF#000000##FFFFFF
##64228C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#03458A
Tritanopia (blue-blind)
#5E3B55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64228c;
/* rgb */ color: rgb(100, 34, 140);
/* oklch */ color: oklch(40.7% 0.168 309.1);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#64228c',
    950: '#000000',
  },
}
SCSS
$custom: #64228c;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64228c",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 277.358,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40711,
    "c": 0.16768,
    "h": 309.1
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#64228C
secondary
#78B951
accent
#E44480
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64228C

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

Preview Lab → · Contrast checker → · Palette generator →

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