#64255F#64255F

#64255F is a dark, moderate purple. Relative luminance 0.049; OKLCH L 38.0% C 0.119 H 330.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#64255F
RGBrgb(100, 37, 95)
HSLhsl(305, 46%, 27%)
HSVhsv(305, 63%, 39%)
CMYKcmyk(0%, 63%, 5%, 60.8%)
CIE-LABlab(26.33, 36.51, -21.12)
CIE-LCHlch(26.33, 42.18, 329.95°)
OKLaboklab(38.02% 0.1037 -0.0579)
OKLCHoklch(38.02% 0.119 330.8)
XYZxyz(7.9826, 4.8592, 11.3417)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64255F #25642A
analogous
#4A2564 #64255F #642540
triadic
#64255F #5F6425 #255F64
tetradic
#64255F #644A25 #25642A #254064
square
#64255F #644A25 #25642A #254064
split-complementary
#64255F #406425 #25644A
monochromatic
#160815 #371435 #64255F #913689 #BB48B2

Accessibility & contrast

On white

10.65
#64255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#64255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64255F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64255F#FFFFFF#000000##FFFFFF
##64255F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#36415D
Tritanopia (blue-blind)
#682B3E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #64255f;
/* rgb */ color: rgb(100, 37, 95);
/* oklch */ color: oklch(38.0% 0.119 330.8);
Tailwind
colors: {
  custom: {
    50: '#92648c',
    500: '#64255f',
    950: '#000000',
  },
}
SCSS
$custom: #64255f;
$custom-light: #92648c;
$custom-dark: #000000;
JSON
{
  "hex": "#64255f",
  "rgb": {
    "r": 100,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 304.762,
    "s": 45.985,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38023,
    "c": 0.1188,
    "h": 330.8
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#64255F
secondary
#4E9753
accent
#D65D52
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D060C
muted
#7E7A7D

Preview Lab

Preview with #64255F

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

Preview Lab → · Contrast checker → · Palette generator →

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