#64298E#64298E

#64298E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.161 H 307.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#64298E
RGBrgb(100, 41, 142)
HSLhsl(275, 55%, 36%)
HSVhsv(275, 71%, 56%)
CMYKcmyk(29.6%, 71.1%, 0%, 44.3%)
CIE-LABlab(30.03, 44.74, -45.06)
CIE-LCHlch(30.03, 63.50, 314.79°)
OKLaboklab(41.66% 0.0981 -0.1277)
OKLCHoklch(41.66% 0.161 307.5)
XYZxyz(10.9299, 6.2483, 26.2162)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64298E #538E29
analogous
#32298E #64298E #8E2985
triadic
#64298E #8E6429 #298E64
tetradic
#64298E #8E3229 #538E29 #29858E
square
#64298E #8E3229 #538E29 #29858E
split-complementary
#64298E #858E29 #298E32
monochromatic
#210E2F #431B5F #64298E #8537BD #A260D1

Accessibility & contrast

On white

9.33
#64298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#64298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64298E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64298E#FFFFFF#000000##FFFFFF
##64298E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#5D4058
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64298e;
/* rgb */ color: rgb(100, 41, 142);
/* oklch */ color: oklch(41.7% 0.161 307.5);
Tailwind
colors: {
  custom: {
    50: '#9468b0',
    500: '#64298e',
    950: '#000000',
  },
}
SCSS
$custom: #64298e;
$custom-light: #9468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64298e",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 275.05,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41657,
    "c": 0.16107,
    "h": 307.5
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#64298E
secondary
#82B75C
accent
#DF4987
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64298E

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

Preview Lab → · Contrast checker → · Palette generator →

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