#64228F#64228F

#64228F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.171 H 308.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#64228F
RGBrgb(100, 34, 143)
HSLhsl(276, 62%, 35%)
HSVhsv(276, 76%, 56%)
CMYKcmyk(30.1%, 76.2%, 0%, 43.9%)
CIE-LABlab(29.00, 48.11, -47.35)
CIE-LCHlch(29.00, 67.50, 315.45°)
OKLaboklab(40.95% 0.1052 -0.1344)
OKLCHoklch(40.95% 0.171 308.1)
XYZxyz(10.7844, 5.8367, 26.5397)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64228F #4D8F22
analogous
#2D228F #64228F #8F2284
triadic
#64228F #8F6422 #228F64
tetradic
#64228F #8F2D22 #4D8F22 #22848F
square
#64228F #8F2D22 #4D8F22 #22848F
split-complementary
#64228F #848F22 #228F2D
monochromatic
#1F0A2C #41165E #64228F #872EC0 #A355D7

Accessibility & contrast

On white

9.69
#64228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#64228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64228F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64228F#FFFFFF#000000##FFFFFF
##64228F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5D3C57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64228f;
/* rgb */ color: rgb(100, 34, 143);
/* oklch */ color: oklch(40.9% 0.171 308.1);
Tailwind
colors: {
  custom: {
    50: '#9564b1',
    500: '#64228f',
    950: '#000000',
  },
}
SCSS
$custom: #64228f;
$custom-light: #9564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#64228f",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 276.33,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.17073,
    "h": 308.1
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#64228F
secondary
#7BBA52
accent
#E54383
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64228F

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

Preview Lab → · Contrast checker → · Palette generator →

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