#64189D#64189D

#64189D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.194 H 304.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#64189D
RGBrgb(100, 24, 157)
HSLhsl(274, 73%, 35%)
HSVhsv(274, 85%, 62%)
CMYKcmyk(36.3%, 84.7%, 0%, 38.4%)
CIE-LABlab(28.89, 54.98, -56.11)
CIE-LCHlch(28.89, 78.56, 314.41°)
OKLaboklab(41.24% 0.1097 -0.1601)
OKLCHoklch(41.24% 0.194 304.4)
XYZxyz(11.6666, 5.7970, 32.3961)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64189D #519D18
analogous
#22189D #64189D #9D1893
triadic
#64189D #9D6418 #189D64
tetradic
#64189D #9D2218 #519D18 #18939D
square
#64189D #9D2218 #519D18 #18939D
split-complementary
#64189D #939D18 #189D22
monochromatic
#200833 #421068 #64189D #8620D2 #A34CE4

Accessibility & contrast

On white

9.72
#64189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#64189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64189D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64189D#FFFFFF#000000##FFFFFF
##64189D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#593E5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64189d;
/* rgb */ color: rgb(100, 24, 157);
/* oklch */ color: oklch(41.2% 0.194 304.4);
Tailwind
colors: {
  custom: {
    50: '#9661bb',
    500: '#64189d',
    950: '#000000',
  },
}
SCSS
$custom: #64189d;
$custom-light: #9661bb;
$custom-dark: #000000;
JSON
{
  "hex": "#64189d",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 274.286,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.19409,
    "h": 304.4
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#64189D
secondary
#80C54B
accent
#F03887
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #64189D

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

Preview Lab → · Contrast checker → · Palette generator →

#64189D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva