#64188E#64188E

#64188E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.180 H 309.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#64188E
RGBrgb(100, 24, 142)
HSLhsl(279, 71%, 33%)
HSVhsv(279, 83%, 56%)
CMYKcmyk(29.6%, 83.1%, 0%, 44.3%)
CIE-LABlab(27.62, 51.64, -48.98)
CIE-LCHlch(27.62, 71.17, 316.51°)
OKLaboklab(39.95% 0.1142 -0.1391)
OKLCHoklch(39.95% 0.18 309.4)
XYZxyz(10.4637, 5.3158, 26.0608)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64188E #428E18
analogous
#29188E #64188E #8E187D
triadic
#64188E #8E6418 #188E64
tetradic
#64188E #8E2918 #428E18 #187D8E
square
#64188E #8E2918 #428E18 #187D8E
split-complementary
#64188E #7D8E18 #188E29
monochromatic
#1A0625 #3F0F5A #64188E #8921C2 #A741DF

Accessibility & contrast

On white

10.18
#64188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#64188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64188E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64188E#FFFFFF#000000##FFFFFF
##64188E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#5E3754
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64188e;
/* rgb */ color: rgb(100, 24, 142);
/* oklch */ color: oklch(40.0% 0.180 309.4);
Tailwind
colors: {
  custom: {
    50: '#9560b0',
    500: '#64188e',
    950: '#000000',
  },
}
SCSS
$custom: #64188e;
$custom-light: #9560b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64188e",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 278.644,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.17998,
    "h": 309.4
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#64188E
secondary
#6FC042
accent
#EE3A7A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #64188E

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

Preview Lab → · Contrast checker → · Palette generator →

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