#64229B#64229B

#64229B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.183 H 304.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#64229B
RGBrgb(100, 34, 155)
HSLhsl(273, 64%, 37%)
HSVhsv(273, 78%, 61%)
CMYKcmyk(35.5%, 78.1%, 0%, 39.2%)
CIE-LABlab(29.96, 50.92, -53.15)
CIE-LCHlch(29.96, 73.61, 313.77°)
OKLaboklab(41.93% 0.1026 -0.1515)
OKLCHoklch(41.93% 0.183 304.1)
XYZxyz(11.7426, 6.2200, 31.5859)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64229B #599B22
analogous
#27229B #64229B #9B2296
triadic
#64229B #9B6422 #229B64
tetradic
#64229B #9B2722 #599B22 #22969B
square
#64229B #9B2722 #599B22 #22969B
split-complementary
#64229B #969B22 #229B27
monochromatic
#230C37 #441769 #64229B #842DCD #A15CDB

Accessibility & contrast

On white

9.36
#64229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64229B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64229B#FFFFFF#000000##FFFFFF
##64229B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#59415E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64229b;
/* rgb */ color: rgb(100, 34, 155);
/* oklch */ color: oklch(41.9% 0.183 304.1);
Tailwind
colors: {
  custom: {
    50: '#9665b9',
    500: '#64229b',
    950: '#000000',
  },
}
SCSS
$custom: #64229b;
$custom-light: #9665b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64229b",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 272.727,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.18294,
    "h": 304.1
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#64229B
secondary
#88C059
accent
#E7418C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64229B

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

Preview Lab → · Contrast checker → · Palette generator →

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