#64198B#64198B

#64198B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.176 H 310.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#64198B
RGBrgb(100, 25, 139)
HSLhsl(279, 70%, 32%)
HSVhsv(279, 82%, 55%)
CMYKcmyk(28.1%, 82%, 0%, 45.5%)
CIE-LABlab(27.49, 50.64, -47.32)
CIE-LCHlch(27.49, 69.31, 316.94°)
OKLaboklab(39.79% 0.1142 -0.1343)
OKLCHoklch(39.79% 0.176 310.4)
XYZxyz(10.2624, 5.2689, 24.8975)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64198B #408B19
analogous
#2B198B #64198B #8B1979
triadic
#64198B #8B6419 #198B64
tetradic
#64198B #8B2B19 #408B19 #19798B
square
#64198B #8B2B19 #408B19 #19798B
split-complementary
#64198B #798B19 #198B2B
monochromatic
#190623 #3F1057 #64198B #8922BF #A841DD

Accessibility & contrast

On white

10.22
#64198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64198B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64198B#FFFFFF#000000##FFFFFF
##64198B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64198b;
/* rgb */ color: rgb(100, 25, 139);
/* oklch */ color: oklch(39.8% 0.176 310.4);
Tailwind
colors: {
  custom: {
    50: '#9560ae',
    500: '#64198b',
    950: '#000000',
  },
}
SCSS
$custom: #64198b;
$custom-light: #9560ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64198b",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 279.474,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.17624,
    "h": 310.4
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#64198B
secondary
#6CBE42
accent
#EC3B78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #64198B

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

Preview Lab → · Contrast checker → · Palette generator →

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