#64298B#64298B

#64298B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.158 H 308.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#64298B
RGBrgb(100, 41, 139)
HSLhsl(276, 54%, 35%)
HSVhsv(276, 71%, 55%)
CMYKcmyk(28.1%, 70.5%, 0%, 45.5%)
CIE-LABlab(29.81, 44.02, -43.56)
CIE-LCHlch(29.81, 61.93, 315.30°)
OKLaboklab(41.43% 0.0985 -0.1233)
OKLCHoklch(41.43% 0.158 308.6)
XYZxyz(10.7077, 6.1595, 25.0459)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64298B #508B29
analogous
#33298B #64298B #8B2981
triadic
#64298B #8B6429 #298B64
tetradic
#64298B #8B3329 #508B29 #29818B
square
#64298B #8B3329 #508B29 #29818B
split-complementary
#64298B #818B29 #298B33
monochromatic
#200D2C #421B5C #64298B #8637BA #A35FD0

Accessibility & contrast

On white

9.41
#64298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#64298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64298B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64298B#FFFFFF#000000##FFFFFF
##64298B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#144789
Tritanopia (blue-blind)
#5E3E57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64298b;
/* rgb */ color: rgb(100, 41, 139);
/* oklch */ color: oklch(41.4% 0.158 308.6);
Tailwind
colors: {
  custom: {
    50: '#9468ad',
    500: '#64298b',
    950: '#000000',
  },
}
SCSS
$custom: #64298b;
$custom-light: #9468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64298b",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 276.122,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.15784,
    "h": 308.6
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#64298B
secondary
#7FB55B
accent
#DE4A85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64298B

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

Preview Lab → · Contrast checker → · Palette generator →

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