#64189F#64189F

#64189F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.196 H 303.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#64189F
RGBrgb(100, 24, 159)
HSLhsl(274, 74%, 36%)
HSVhsv(274, 85%, 62%)
CMYKcmyk(37.1%, 84.9%, 0%, 37.6%)
CIE-LABlab(29.07, 55.43, -57.04)
CIE-LCHlch(29.07, 79.54, 314.18°)
OKLaboklab(41.41% 0.1091 -0.1628)
OKLCHoklch(41.41% 0.196 303.8)
XYZxyz(11.8387, 5.8658, 33.3027)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64189F #539F18
analogous
#21189F #64189F #9F1896
triadic
#64189F #9F6418 #189F64
tetradic
#64189F #9F2118 #539F18 #18969F
square
#64189F #9F2118 #539F18 #18969F
split-complementary
#64189F #969F18 #189F21
monochromatic
#210835 #43106A #64189F #8520D4 #A24DE4

Accessibility & contrast

On white

9.66
#64189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#64189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64189F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64189F#FFFFFF#000000##FFFFFF
##64189F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#583F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #64189f;
/* rgb */ color: rgb(100, 24, 159);
/* oklch */ color: oklch(41.4% 0.196 303.8);
Tailwind
colors: {
  custom: {
    50: '#9661bc',
    500: '#64189f',
    950: '#000000',
  },
}
SCSS
$custom: #64189f;
$custom-light: #9661bc;
$custom-dark: #000000;
JSON
{
  "hex": "#64189f",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 273.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.19597,
    "h": 303.8
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#64189F
secondary
#82C64D
accent
#F03788
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #64189F

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

Preview Lab → · Contrast checker → · Palette generator →

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