#64228E#64228E

#64228E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.170 H 308.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#64228E
RGBrgb(100, 34, 142)
HSLhsl(277, 61%, 35%)
HSVhsv(277, 76%, 56%)
CMYKcmyk(29.6%, 76.1%, 0%, 44.3%)
CIE-LABlab(28.92, 47.88, -46.86)
CIE-LCHlch(28.92, 66.99, 315.62°)
OKLaboklab(40.87% 0.1054 -0.133)
OKLCHoklch(40.87% 0.17 308.4)
XYZxyz(10.7090, 5.8066, 26.1426)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64228E #4C8E22
analogous
#2E228E #64228E #8E2282
triadic
#64228E #8E6422 #228E64
tetradic
#64228E #8E2E22 #4C8E22 #22828E
square
#64228E #8E2E22 #4C8E22 #22828E
split-complementary
#64228E #828E22 #228E2E
monochromatic
#1E0A2B #41165D #64228E #872EBF #A454D6

Accessibility & contrast

On white

9.72
#64228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64228E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64228E#FFFFFF#000000##FFFFFF
##64228E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#5D3C56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64228e;
/* rgb */ color: rgb(100, 34, 142);
/* oklch */ color: oklch(40.9% 0.170 308.4);
Tailwind
colors: {
  custom: {
    50: '#9464b0',
    500: '#64228e',
    950: '#000000',
  },
}
SCSS
$custom: #64228e;
$custom-light: #9464b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64228e",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 276.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.16972,
    "h": 308.4
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#64228E
secondary
#7ABA52
accent
#E44382
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64228E

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

Preview Lab → · Contrast checker → · Palette generator →

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