#64188C#64188C

#64188C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.178 H 310.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#64188C
RGBrgb(100, 24, 140)
HSLhsl(279, 71%, 32%)
HSVhsv(279, 83%, 55%)
CMYKcmyk(28.6%, 82.9%, 0%, 45.1%)
CIE-LABlab(27.45, 51.20, -48.00)
CIE-LCHlch(27.45, 70.18, 316.85°)
OKLaboklab(39.79% 0.1147 -0.1363)
OKLCHoklch(39.79% 0.178 310.1)
XYZxyz(10.3148, 5.2563, 25.2770)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64188C #408C18
analogous
#2A188C #64188C #8C187A
triadic
#64188C #8C6418 #188C64
tetradic
#64188C #8C2A18 #408C18 #187A8C
square
#64188C #8C2A18 #408C18 #187A8C
split-complementary
#64188C #7A8C18 #188C2A
monochromatic
#190624 #3F0F58 #64188C #8921C0 #A840DE

Accessibility & contrast

On white

10.24
#64188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64188C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64188C#FFFFFF#000000##FFFFFF
##64188C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#5E3653
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64188c;
/* rgb */ color: rgb(100, 24, 140);
/* oklch */ color: oklch(39.8% 0.178 310.1);
Tailwind
colors: {
  custom: {
    50: '#9560ae',
    500: '#64188c',
    950: '#000000',
  },
}
SCSS
$custom: #64188c;
$custom-light: #9560ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64188c",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 279.31,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39789,
    "c": 0.17811,
    "h": 310.1
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#64188C
secondary
#6CBF41
accent
#ED3A78
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64188C

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

Preview Lab → · Contrast checker → · Palette generator →

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