#64188F#64188F

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

Color values

HEX#64188F
RGBrgb(100, 24, 143)
HSLhsl(278, 71%, 33%)
HSVhsv(278, 83%, 56%)
CMYKcmyk(30.1%, 83.2%, 0%, 43.9%)
CIE-LABlab(27.70, 51.85, -49.46)
CIE-LCHlch(27.70, 71.66, 316.35°)
OKLaboklab(40.04% 0.1139 -0.1406)
OKLCHoklch(40.04% 0.181 309)
XYZxyz(10.5391, 5.3460, 26.4580)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64188F #438F18
analogous
#28188F #64188F #8F187E
triadic
#64188F #8F6418 #188F64
tetradic
#64188F #8F2818 #438F18 #187E8F
square
#64188F #8F2818 #438F18 #187E8F
split-complementary
#64188F #7E8F18 #188F28
monochromatic
#1B0626 #3F0F5B #64188F #8921C3 #A642DF

Accessibility & contrast

On white

10.15
#64188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#64188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64188F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64188F#FFFFFF#000000##FFFFFF
##64188F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5D3855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64188f;
/* rgb */ color: rgb(100, 24, 143);
/* oklch */ color: oklch(40.0% 0.181 309.0);
Tailwind
colors: {
  custom: {
    50: '#9560b1',
    500: '#64188f',
    950: '#000000',
  },
}
SCSS
$custom: #64188f;
$custom-light: #9560b1;
$custom-dark: #000000;
JSON
{
  "hex": "#64188f",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 278.319,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.18092,
    "h": 309
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#64188F
secondary
#70C043
accent
#EE3A7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #64188F

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

Preview Lab → · Contrast checker → · Palette generator →

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