#64298F#64298F

#64298F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.162 H 307.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#64298F
RGBrgb(100, 41, 143)
HSLhsl(275, 55%, 36%)
HSVhsv(275, 71%, 56%)
CMYKcmyk(30.1%, 71.3%, 0%, 43.9%)
CIE-LABlab(30.10, 44.98, -45.56)
CIE-LCHlch(30.10, 64.02, 314.63°)
OKLaboklab(41.73% 0.098 -0.1292)
OKLCHoklch(41.73% 0.162 307.2)
XYZxyz(11.0053, 6.2785, 26.6134)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64298F #548F29
analogous
#31298F #64298F #8F2987
triadic
#64298F #8F6429 #298F64
tetradic
#64298F #8F3129 #548F29 #29878F
square
#64298F #8F3129 #548F29 #29878F
split-complementary
#64298F #878F29 #298F31
monochromatic
#210E30 #431B5F #64298F #8537BF #A261D2

Accessibility & contrast

On white

9.31
#64298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#64298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64298F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64298F#FFFFFF#000000##FFFFFF
##64298F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#5D4059
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64298f;
/* rgb */ color: rgb(100, 41, 143);
/* oklch */ color: oklch(41.7% 0.162 307.2);
Tailwind
colors: {
  custom: {
    50: '#9468b0',
    500: '#64298f',
    950: '#000000',
  },
}
SCSS
$custom: #64298f;
$custom-light: #9468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64298f",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 274.706,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.16215,
    "h": 307.2
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#64298F
secondary
#83B75C
accent
#DF4988
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64298F

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

Preview Lab → · Contrast checker → · Palette generator →

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