#64229C#64229C

#64229C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.184 H 303.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#64229C
RGBrgb(100, 34, 156)
HSLhsl(272, 64%, 37%)
HSVhsv(272, 78%, 61%)
CMYKcmyk(35.9%, 78.2%, 0%, 38.8%)
CIE-LABlab(30.04, 51.16, -53.63)
CIE-LCHlch(30.04, 74.11, 313.65°)
OKLaboklab(42.01% 0.1023 -0.1529)
OKLCHoklch(42.01% 0.184 303.8)
XYZxyz(11.8269, 6.2537, 32.0301)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64229C #5A9C22
analogous
#27229C #64229C #9C2297
triadic
#64229C #9C6422 #229C64
tetradic
#64229C #9C2722 #5A9C22 #22979C
square
#64229C #9C2722 #5A9C22 #22979C
split-complementary
#64229C #979C22 #229C27
monochromatic
#240C38 #44176A #64229C #842DCE #A15DDC

Accessibility & contrast

On white

9.33
#64229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#64229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64229C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64229C#FFFFFF#000000##FFFFFF
##64229C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#59425E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64229c;
/* rgb */ color: rgb(100, 34, 156);
/* oklch */ color: oklch(42.0% 0.184 303.8);
Tailwind
colors: {
  custom: {
    50: '#9665ba',
    500: '#64229c',
    950: '#000000',
  },
}
SCSS
$custom: #64229c;
$custom-light: #9665ba;
$custom-dark: #000000;
JSON
{
  "hex": "#64229c",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 272.459,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42011,
    "c": 0.18395,
    "h": 303.8
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#64229C
secondary
#89C05A
accent
#E7418D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64229C

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

Preview Lab → · Contrast checker → · Palette generator →

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