#64189B#64189B

#64189B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.1% C 0.192 H 305.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#64189B
RGBrgb(100, 24, 155)
HSLhsl(275, 73%, 35%)
HSVhsv(275, 85%, 61%)
CMYKcmyk(35.5%, 84.5%, 0%, 39.2%)
CIE-LABlab(28.72, 54.53, -55.18)
CIE-LCHlch(28.72, 77.58, 314.66°)
OKLaboklab(41.06% 0.1104 -0.1574)
OKLCHoklch(41.06% 0.192 305)
XYZxyz(11.4972, 5.7292, 31.5041)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64189B #4F9B18
analogous
#22189B #64189B #9B1890
triadic
#64189B #9B6418 #189B64
tetradic
#64189B #9B2218 #4F9B18 #18909B
square
#64189B #9B2218 #4F9B18 #18909B
split-complementary
#64189B #909B18 #189B22
monochromatic
#200831 #421066 #64189B #8620D0 #A34AE3

Accessibility & contrast

On white

9.79
#64189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#64189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64189B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64189B#FFFFFF#000000##FFFFFF
##64189B1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#593D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64189b;
/* rgb */ color: rgb(100, 24, 155);
/* oklch */ color: oklch(41.1% 0.192 305.0);
Tailwind
colors: {
  custom: {
    50: '#9661b9',
    500: '#64189b',
    950: '#000000',
  },
}
SCSS
$custom: #64189b;
$custom-light: #9661b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64189b",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 274.809,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.1922,
    "h": 305
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#64189B
secondary
#7EC54A
accent
#F03885
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #64189B

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

Preview Lab → · Contrast checker → · Palette generator →

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