#64257D#64257D

#64257D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.9% C 0.148 H 314.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#64257D
RGBrgb(100, 37, 125)
HSLhsl(283, 54%, 32%)
HSVhsv(283, 70%, 49%)
CMYKcmyk(20%, 70.4%, 0%, 51%)
CIE-LABlab(28.15, 42.70, -37.48)
CIE-LCHlch(28.15, 56.82, 318.72°)
OKLaboklab(39.93% 0.1045 -0.1055)
OKLCHoklch(39.93% 0.148 314.7)
XYZxyz(9.6182, 5.5135, 19.9556)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64257D #3E7D25
analogous
#38257D #64257D #7D256A
triadic
#64257D #7D6425 #257D64
tetradic
#64257D #7D3825 #3E7D25 #256A7D
square
#64257D #7D3825 #3E7D25 #256A7D
split-complementary
#64257D #6A7D25 #257D38
monochromatic
#18091F #3E174E #64257D #8A33AC #A951CB

Accessibility & contrast

On white

9.99
#64257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#64257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64257D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64257D#FFFFFF#000000##FFFFFF
##64257D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#62364E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #64257d;
/* rgb */ color: rgb(100, 37, 125);
/* oklch */ color: oklch(39.9% 0.148 314.7);
Tailwind
colors: {
  custom: {
    50: '#9365a3',
    500: '#64257d',
    950: '#000000',
  },
}
SCSS
$custom: #64257d;
$custom-light: #9365a3;
$custom-dark: #000000;
JSON
{
  "hex": "#64257d",
  "rgb": {
    "r": 100,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 282.955,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39928,
    "c": 0.14849,
    "h": 314.7
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#64257D
secondary
#6AAF4F
accent
#DE4A74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #64257D

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

Preview Lab → · Contrast checker → · Palette generator →

#64257D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva