#64248C#64248C

#64248C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.165 H 308.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#64248C
RGBrgb(100, 36, 140)
HSLhsl(277, 59%, 35%)
HSVhsv(277, 74%, 55%)
CMYKcmyk(28.6%, 74.3%, 0%, 45.1%)
CIE-LABlab(29.07, 46.56, -45.38)
CIE-LCHlch(29.07, 65.01, 315.73°)
OKLaboklab(40.93% 0.1038 -0.1286)
OKLCHoklch(40.93% 0.165 308.9)
XYZxyz(10.6191, 5.8647, 25.3785)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64248C #4C8C24
analogous
#30248C #64248C #8C2480
triadic
#64248C #8C6424 #248C64
tetradic
#64248C #8C3024 #4C8C24 #24808C
square
#64248C #8C3024 #4C8C24 #24808C
split-complementary
#64248C #808C24 #248C30
monochromatic
#1E0B2B #41175B #64248C #8731BD #A457D4

Accessibility & contrast

On white

9.66
#64248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64248C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64248C#FFFFFF#000000##FFFFFF
##64248C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#07458A
Tritanopia (blue-blind)
#5E3C56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64248c;
/* rgb */ color: rgb(100, 36, 140);
/* oklch */ color: oklch(40.9% 0.165 308.9);
Tailwind
colors: {
  custom: {
    50: '#9465ae',
    500: '#64248c',
    950: '#000000',
  },
}
SCSS
$custom: #64248c;
$custom-light: #9465ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64248c",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 276.923,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.16529,
    "h": 308.9
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#64248C
secondary
#7AB854
accent
#E24682
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64248C

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

Preview Lab → · Contrast checker → · Palette generator →

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