#64319D#64319D

#64319D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.167 H 301.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#64319D
RGBrgb(100, 49, 157)
HSLhsl(268, 52%, 40%)
HSVhsv(268, 69%, 62%)
CMYKcmyk(36.3%, 68.8%, 0%, 38.4%)
CIE-LABlab(32.57, 44.50, -50.13)
CIE-LCHlch(32.57, 67.03, 311.59°)
OKLaboklab(43.83% 0.0872 -0.1427)
OKLCHoklch(43.83% 0.167 301.4)
XYZxyz(12.4382, 7.3402, 32.6533)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64319D #6A9D31
analogous
#31349D #64319D #9A319D
triadic
#64319D #9D6431 #319D64
tetradic
#64319D #9D3134 #6A9D31 #319D9A
square
#64319D #9D3134 #6A9D31 #319D9A
split-complementary
#64319D #9D9A31 #349D31
monochromatic
#291440 #46226E #64319D #8246C5 #A275D4

Accessibility & contrast

On white

8.51
#64319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#64319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64319D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64319D#FFFFFF#000000##FFFFFF
##64319D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#584A63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #64319d;
/* rgb */ color: rgb(100, 49, 157);
/* oklch */ color: oklch(43.8% 0.167 301.4);
Tailwind
colors: {
  custom: {
    50: '#956dbb',
    500: '#64319d',
    950: '#000000',
  },
}
SCSS
$custom: #64319d;
$custom-light: #956dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#64319d",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 268.333,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.1672,
    "h": 301.4
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#64319D
secondary
#97BC6E
accent
#DC4C98
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #64319D

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

Preview Lab → · Contrast checker → · Palette generator →

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