#64248A#64248A

#64248A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.163 H 309.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#64248A
RGBrgb(100, 36, 138)
HSLhsl(278, 59%, 34%)
HSVhsv(278, 74%, 54%)
CMYKcmyk(27.5%, 73.9%, 0%, 45.9%)
CIE-LABlab(28.92, 46.09, -44.38)
CIE-LCHlch(28.92, 63.99, 316.08°)
OKLaboklab(40.77% 0.1041 -0.1257)
OKLCHoklch(40.77% 0.163 309.6)
XYZxyz(10.4729, 5.8063, 24.6088)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64248A #4A8A24
analogous
#31248A #64248A #8A247D
triadic
#64248A #8A6424 #248A64
tetradic
#64248A #8A3124 #4A8A24 #247D8A
square
#64248A #8A3124 #4A8A24 #247D8A
split-complementary
#64248A #7D8A24 #248A31
monochromatic
#1E0B29 #411759 #64248A #8731BB #A456D3

Accessibility & contrast

On white

9.72
#64248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#64248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64248A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64248A#FFFFFF#000000##FFFFFF
##64248A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#0D4588
Tritanopia (blue-blind)
#5F3B55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64248a;
/* rgb */ color: rgb(100, 36, 138);
/* oklch */ color: oklch(40.8% 0.163 309.6);
Tailwind
colors: {
  custom: {
    50: '#9465ad',
    500: '#64248a',
    950: '#000000',
  },
}
SCSS
$custom: #64248a;
$custom-light: #9465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64248a",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 277.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.16323,
    "h": 309.6
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#64248A
secondary
#78B753
accent
#E24680
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64248A

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

Preview Lab → · Contrast checker → · Palette generator →

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