#64298C#64298C

#64298C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.159 H 308.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#64298C
RGBrgb(100, 41, 140)
HSLhsl(276, 55%, 35%)
HSVhsv(276, 71%, 55%)
CMYKcmyk(28.6%, 70.7%, 0%, 45.1%)
CIE-LABlab(29.88, 44.26, -44.06)
CIE-LCHlch(29.88, 62.45, 315.13°)
OKLaboklab(41.51% 0.0984 -0.1248)
OKLCHoklch(41.51% 0.159 308.2)
XYZxyz(10.7811, 6.1888, 25.4325)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64298C #518C29
analogous
#33298C #64298C #8C2982
triadic
#64298C #8C6429 #298C64
tetradic
#64298C #8C3329 #518C29 #29828C
square
#64298C #8C3329 #518C29 #29828C
split-complementary
#64298C #828C29 #298C33
monochromatic
#200D2D #421B5D #64298C #8637BB #A35FD0

Accessibility & contrast

On white

9.38
#64298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#64298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64298C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64298C#FFFFFF#000000##FFFFFF
##64298C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#12478A
Tritanopia (blue-blind)
#5E3F57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64298c;
/* rgb */ color: rgb(100, 41, 140);
/* oklch */ color: oklch(41.5% 0.159 308.2);
Tailwind
colors: {
  custom: {
    50: '#9468ae',
    500: '#64298c',
    950: '#000000',
  },
}
SCSS
$custom: #64298c;
$custom-light: #9468ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64298c",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 275.758,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.15892,
    "h": 308.2
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#64298C
secondary
#80B65B
accent
#DE4A86
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64298C

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

Preview Lab → · Contrast checker → · Palette generator →

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