#64198A#64198A

#64198A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.175 H 310.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#64198A
RGBrgb(100, 25, 138)
HSLhsl(280, 69%, 32%)
HSVhsv(280, 82%, 54%)
CMYKcmyk(27.5%, 81.9%, 0%, 45.9%)
CIE-LABlab(27.41, 50.43, -46.83)
CIE-LCHlch(27.41, 68.82, 317.12°)
OKLaboklab(39.71% 0.1144 -0.1328)
OKLCHoklch(39.71% 0.175 310.7)
XYZxyz(10.1897, 5.2398, 24.5144)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64198A #3F8A19
analogous
#2C198A #64198A #8A1978
triadic
#64198A #8A6419 #198A64
tetradic
#64198A #8A2C19 #3F8A19 #19788A
square
#64198A #8A2C19 #3F8A19 #19788A
split-complementary
#64198A #788A19 #198A2C
monochromatic
#190622 #3E1056 #64198A #8A22BE #A841DD

Accessibility & contrast

On white

10.25
#64198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64198A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64198A#FFFFFF#000000##FFFFFF
##64198A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#5F3652
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64198a;
/* rgb */ color: rgb(100, 25, 138);
/* oklch */ color: oklch(39.7% 0.175 310.7);
Tailwind
colors: {
  custom: {
    50: '#9560ad',
    500: '#64198a',
    950: '#000000',
  },
}
SCSS
$custom: #64198a;
$custom-light: #9560ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64198a",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 279.823,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.1753,
    "h": 310.7
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#64198A
secondary
#6BBD42
accent
#EC3C77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #64198A

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

Preview Lab → · Contrast checker → · Palette generator →

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