#64228B#64228B

#64228B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.167 H 309.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#64228B
RGBrgb(100, 34, 139)
HSLhsl(278, 61%, 34%)
HSVhsv(278, 76%, 55%)
CMYKcmyk(28.1%, 75.5%, 0%, 45.5%)
CIE-LABlab(28.69, 47.19, -45.37)
CIE-LCHlch(28.69, 65.46, 316.12°)
OKLaboklab(40.63% 0.106 -0.1286)
OKLCHoklch(40.63% 0.167 309.5)
XYZxyz(10.4868, 5.7177, 24.9723)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64228B #498B22
analogous
#2F228B #64228B #8B227E
triadic
#64228B #8B6422 #228B64
tetradic
#64228B #8B2F22 #498B22 #227E8B
square
#64228B #8B2F22 #498B22 #227E8B
split-complementary
#64228B #7E8B22 #228B2F
monochromatic
#1D0A29 #41165A #64228B #872EBC #A453D5

Accessibility & contrast

On white

9.80
#64228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#64228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64228B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64228B#FFFFFF#000000##FFFFFF
##64228B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#064589
Tritanopia (blue-blind)
#5E3A55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64228b;
/* rgb */ color: rgb(100, 34, 139);
/* oklch */ color: oklch(40.6% 0.167 309.5);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#64228b',
    950: '#000000',
  },
}
SCSS
$custom: #64228b;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64228b",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 277.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.16666,
    "h": 309.5
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#64228B
secondary
#77B850
accent
#E4447F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64228B

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

Preview Lab → · Contrast checker → · Palette generator →

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