#64299D#64299D

#64299D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.177 H 302.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#64299D
RGBrgb(100, 41, 157)
HSLhsl(271, 59%, 39%)
HSVhsv(271, 74%, 62%)
CMYKcmyk(36.3%, 73.9%, 0%, 38.4%)
CIE-LABlab(31.18, 48.38, -52.38)
CIE-LCHlch(31.18, 71.31, 312.73°)
OKLaboklab(42.84% 0.0956 -0.1493)
OKLCHoklch(42.84% 0.177 302.6)
XYZxyz(12.1328, 6.7295, 32.5515)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64299D #629D29
analogous
#2A299D #64299D #9D299C
triadic
#64299D #9D6429 #299D64
tetradic
#64299D #9D2A29 #629D29 #299C9D
square
#64299D #9D2A29 #629D29 #299C9D
split-complementary
#64299D #9C9D29 #299D2A
monochromatic
#26103C #451C6C #64299D #8338CB #A169D8

Accessibility & contrast

On white

8.95
#64299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#64299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64299D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64299D#FFFFFF#000000##FFFFFF
##64299D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#584661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64299d;
/* rgb */ color: rgb(100, 41, 157);
/* oklch */ color: oklch(42.8% 0.177 302.6);
Tailwind
colors: {
  custom: {
    50: '#9568bb',
    500: '#64299d',
    950: '#000000',
  },
}
SCSS
$custom: #64299d;
$custom-light: #9568bb;
$custom-dark: #000000;
JSON
{
  "hex": "#64299d",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 270.517,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.17723,
    "h": 302.6
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#64299D
secondary
#90BE64
accent
#E24693
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64299D

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

Preview Lab → · Contrast checker → · Palette generator →

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