#64299B#64299B

#64299B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.175 H 303.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#64299B
RGBrgb(100, 41, 155)
HSLhsl(271, 58%, 38%)
HSVhsv(271, 74%, 61%)
CMYKcmyk(35.5%, 73.5%, 0%, 39.2%)
CIE-LABlab(31.02, 47.89, -51.42)
CIE-LCHlch(31.02, 70.27, 312.96°)
OKLaboklab(42.68% 0.0959 -0.1464)
OKLCHoklch(42.68% 0.175 303.2)
XYZxyz(11.9635, 6.6618, 31.6596)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64299B #609B29
analogous
#2B299B #64299B #9B2999
triadic
#64299B #9B6429 #299B64
tetradic
#64299B #9B2B29 #609B29 #29999B
square
#64299B #9B2B29 #609B29 #29999B
split-complementary
#64299B #999B29 #299B2B
monochromatic
#260F3A #451C6B #64299B #8337CA #A167D7

Accessibility & contrast

On white

9.00
#64299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#64299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64299B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64299B#FFFFFF#000000##FFFFFF
##64299B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#59455F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64299b;
/* rgb */ color: rgb(100, 41, 155);
/* oklch */ color: oklch(42.7% 0.175 303.2);
Tailwind
colors: {
  custom: {
    50: '#9568b9',
    500: '#64299b',
    950: '#000000',
  },
}
SCSS
$custom: #64299b;
$custom-light: #9568b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64299b",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 271.053,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.17508,
    "h": 303.2
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#64299B
secondary
#8EBD63
accent
#E14691
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64299B

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

Preview Lab → · Contrast checker → · Palette generator →

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