#64299A#64299A

#64299A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.174 H 303.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#64299A
RGBrgb(100, 41, 154)
HSLhsl(271, 58%, 38%)
HSVhsv(271, 73%, 60%)
CMYKcmyk(35.1%, 73.4%, 0%, 39.6%)
CIE-LABlab(30.95, 47.64, -50.94)
CIE-LCHlch(30.95, 69.75, 313.08°)
OKLaboklab(42.6% 0.0961 -0.145)
OKLCHoklch(42.6% 0.174 303.5)
XYZxyz(11.8798, 6.6283, 31.2191)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64299A #5F9A29
analogous
#2B299A #64299A #9A2997
triadic
#64299A #9A6429 #299A64
tetradic
#64299A #9A2B29 #5F9A29 #29979A
square
#64299A #9A2B29 #5F9A29 #29979A
split-complementary
#64299A #979A29 #299A2B
monochromatic
#250F39 #451C6A #64299A #8337CA #A167D7

Accessibility & contrast

On white

9.03
#64299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64299A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64299A#FFFFFF#000000##FFFFFF
##64299A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#59445F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64299a;
/* rgb */ color: rgb(100, 41, 154);
/* oklch */ color: oklch(42.6% 0.174 303.5);
Tailwind
colors: {
  custom: {
    50: '#9568b9',
    500: '#64299a',
    950: '#000000',
  },
}
SCSS
$custom: #64299a;
$custom-light: #9568b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64299a",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 271.327,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.174,
    "h": 303.5
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#64299A
secondary
#8DBD62
accent
#E14790
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64299A

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

Preview Lab → · Contrast checker → · Palette generator →

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