#64248B#64248B

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

Color values

HEX#64248B
RGBrgb(100, 36, 139)
HSLhsl(277, 59%, 34%)
HSVhsv(277, 74%, 55%)
CMYKcmyk(28.1%, 74.1%, 0%, 45.5%)
CIE-LABlab(28.99, 46.32, -44.88)
CIE-LCHlch(28.99, 64.50, 315.91°)
OKLaboklab(40.85% 0.104 -0.1272)
OKLCHoklch(40.85% 0.164 309.3)
XYZxyz(10.5457, 5.8354, 24.9919)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64248B #4B8B24
analogous
#31248B #64248B #8B247F
triadic
#64248B #8B6424 #248B64
tetradic
#64248B #8B3124 #4B8B24 #247F8B
square
#64248B #8B3124 #4B8B24 #247F8B
split-complementary
#64248B #7F8B24 #248B31
monochromatic
#1E0B2A #41175A #64248B #8731BC #A456D3

Accessibility & contrast

On white

9.69
#64248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#64248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64248B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64248B#FFFFFF#000000##FFFFFF
##64248B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#0A4589
Tritanopia (blue-blind)
#5E3C55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64248b;
/* rgb */ color: rgb(100, 36, 139);
/* oklch */ color: oklch(40.8% 0.164 309.3);
Tailwind
colors: {
  custom: {
    50: '#9465ae',
    500: '#64248b',
    950: '#000000',
  },
}
SCSS
$custom: #64248b;
$custom-light: #9465ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64248b",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 277.282,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40848,
    "c": 0.16426,
    "h": 309.3
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#64248B
secondary
#79B753
accent
#E24681
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64248B

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

Preview Lab → · Contrast checker → · Palette generator →

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