#64229A#64229A

#64229A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.182 H 304.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#64229A
RGBrgb(100, 34, 154)
HSLhsl(273, 64%, 37%)
HSVhsv(273, 78%, 60%)
CMYKcmyk(35.1%, 77.9%, 0%, 39.6%)
CIE-LABlab(29.88, 50.68, -52.68)
CIE-LCHlch(29.88, 73.10, 313.89°)
OKLaboklab(41.84% 0.1028 -0.1501)
OKLCHoklch(41.84% 0.182 304.4)
XYZxyz(11.6590, 6.1865, 31.1455)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64229A #589A22
analogous
#28229A #64229A #9A2294
triadic
#64229A #9A6422 #229A64
tetradic
#64229A #9A2822 #589A22 #22949A
square
#64229A #9A2822 #589A22 #22949A
split-complementary
#64229A #949A22 #229A28
monochromatic
#230C36 #431768 #64229A #852DCC #A25BDB

Accessibility & contrast

On white

9.39
#64229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#64229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64229A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64229A#FFFFFF#000000##FFFFFF
##64229A1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#59415D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64229a;
/* rgb */ color: rgb(100, 34, 154);
/* oklch */ color: oklch(41.8% 0.182 304.4);
Tailwind
colors: {
  custom: {
    50: '#9665b9',
    500: '#64229a',
    950: '#000000',
  },
}
SCSS
$custom: #64229a;
$custom-light: #9665b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64229a",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 273,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.18191,
    "h": 304.4
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#64229A
secondary
#87BF58
accent
#E7418C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64229A

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

Preview Lab → · Contrast checker → · Palette generator →

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