#64229E#64229E

#64229E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.186 H 303.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#64229E
RGBrgb(100, 34, 158)
HSLhsl(272, 65%, 38%)
HSVhsv(272, 78%, 62%)
CMYKcmyk(36.7%, 78.5%, 0%, 38%)
CIE-LABlab(30.21, 51.63, -54.57)
CIE-LCHlch(30.21, 75.13, 313.41°)
OKLaboklab(42.18% 0.1018 -0.1557)
OKLCHoklch(42.18% 0.186 303.2)
XYZxyz(11.9977, 6.3220, 32.9293)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64229E #5C9E22
analogous
#26229E #64229E #9E229A
triadic
#64229E #9E6422 #229E64
tetradic
#64229E #9E2622 #5C9E22 #229A9E
square
#64229E #9E2622 #5C9E22 #229A9E
split-complementary
#64229E #9A9E22 #229E26
monochromatic
#240C39 #44176C #64229E #842DD0 #A15EDC

Accessibility & contrast

On white

9.27
#64229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#64229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64229E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64229E#FFFFFF#000000##FFFFFF
##64229E1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#58435F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64229e;
/* rgb */ color: rgb(100, 34, 158);
/* oklch */ color: oklch(42.2% 0.186 303.2);
Tailwind
colors: {
  custom: {
    50: '#9665bc',
    500: '#64229e',
    950: '#000000',
  },
}
SCSS
$custom: #64229e;
$custom-light: #9665bc;
$custom-dark: #000000;
JSON
{
  "hex": "#64229e",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 271.935,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.18598,
    "h": 303.2
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#64229E
secondary
#8BC15B
accent
#E8408F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64229E

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

Preview Lab → · Contrast checker → · Palette generator →

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