#64188B#64188B

#64188B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.177 H 310.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#64188B
RGBrgb(100, 24, 139)
HSLhsl(280, 71%, 32%)
HSVhsv(280, 83%, 55%)
CMYKcmyk(28.1%, 82.7%, 0%, 45.5%)
CIE-LABlab(27.37, 50.98, -47.51)
CIE-LCHlch(27.37, 69.69, 317.02°)
OKLaboklab(39.71% 0.1149 -0.1348)
OKLCHoklch(39.71% 0.177 310.4)
XYZxyz(10.2414, 5.2269, 24.8905)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64188B #3F8B18
analogous
#2B188B #64188B #8B1879
triadic
#64188B #8B6418 #188B64
tetradic
#64188B #8B2B18 #3F8B18 #18798B
square
#64188B #8B2B18 #3F8B18 #18798B
split-complementary
#64188B #798B18 #188B2B
monochromatic
#190623 #3E0F57 #64188B #8A21BF #A83FDE

Accessibility & contrast

On white

10.27
#64188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#64188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64188B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64188B#FFFFFF#000000##FFFFFF
##64188B1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#5E3652
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64188b;
/* rgb */ color: rgb(100, 24, 139);
/* oklch */ color: oklch(39.7% 0.177 310.4);
Tailwind
colors: {
  custom: {
    50: '#9560ae',
    500: '#64188b',
    950: '#000000',
  },
}
SCSS
$custom: #64188b;
$custom-light: #9560ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64188b",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 279.652,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.17717,
    "h": 310.4
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#64188B
secondary
#6BBE40
accent
#ED3A77
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64188B

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

Preview Lab → · Contrast checker → · Palette generator →

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