#64299E#64299E

#64299E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.178 H 302.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#64299E
RGBrgb(100, 41, 158)
HSLhsl(270, 59%, 39%)
HSVhsv(270, 74%, 62%)
CMYKcmyk(36.7%, 74.1%, 0%, 38%)
CIE-LABlab(31.26, 48.63, -52.86)
CIE-LCHlch(31.26, 71.82, 312.61°)
OKLaboklab(42.92% 0.0954 -0.1507)
OKLCHoklch(42.92% 0.178 302.3)
XYZxyz(12.2186, 6.7638, 33.0029)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64299E #639E29
analogous
#29299E #64299E #9E299E
triadic
#64299E #9E6429 #299E64
tetradic
#64299E #9E2929 #639E29 #299E9E
square
#64299E #9E2929 #639E29 #299E9E
split-complementary
#64299E #9E9E29 #299E29
monochromatic
#26103D #451C6D #64299E #8339CC #A169D8

Accessibility & contrast

On white

8.93
#64299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64299E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64299E#FFFFFF#000000##FFFFFF
##64299E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#584661
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #64299e;
/* rgb */ color: rgb(100, 41, 158);
/* oklch */ color: oklch(42.9% 0.178 302.3);
Tailwind
colors: {
  custom: {
    50: '#9568bb',
    500: '#64299e',
    950: '#000000',
  },
}
SCSS
$custom: #64299e;
$custom-light: #9568bb;
$custom-dark: #000000;
JSON
{
  "hex": "#64299e",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 270.256,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.17831,
    "h": 302.3
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#64299E
secondary
#91BF64
accent
#E24693
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64299E

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

Preview Lab → · Contrast checker → · Palette generator →

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