#64299C#64299C

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

Color values

HEX#64299C
RGBrgb(100, 41, 156)
HSLhsl(271, 58%, 39%)
HSVhsv(271, 74%, 61%)
CMYKcmyk(35.9%, 73.7%, 0%, 38.8%)
CIE-LABlab(31.10, 48.13, -51.90)
CIE-LCHlch(31.10, 70.79, 312.84°)
OKLaboklab(42.76% 0.0958 -0.1479)
OKLCHoklch(42.76% 0.176 302.9)
XYZxyz(12.0478, 6.6955, 32.1037)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64299C #619C29
analogous
#2A299C #64299C #9C299A
triadic
#64299C #9C6429 #299C64
tetradic
#64299C #9C2A29 #619C29 #299A9C
square
#64299C #9C2A29 #619C29 #299A9C
split-complementary
#64299C #9A9C29 #299C2A
monochromatic
#26103B #451C6C #64299C #8338CB #A168D7

Accessibility & contrast

On white

8.98
#64299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#64299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64299C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64299C#FFFFFF#000000##FFFFFF
##64299C1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#594560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64299c;
/* rgb */ color: rgb(100, 41, 156);
/* oklch */ color: oklch(42.8% 0.176 302.9);
Tailwind
colors: {
  custom: {
    50: '#9568ba',
    500: '#64299c',
    950: '#000000',
  },
}
SCSS
$custom: #64299c;
$custom-light: #9568ba;
$custom-dark: #000000;
JSON
{
  "hex": "#64299c",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 270.783,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.17616,
    "h": 302.9
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#64299C
secondary
#8FBE63
accent
#E24692
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64299C

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

Preview Lab → · Contrast checker → · Palette generator →

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