#64337B#64337B

#64337B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.7% C 0.125 H 313.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#64337B
RGBrgb(100, 51, 123)
HSLhsl(281, 41%, 34%)
HSVhsv(281, 59%, 48%)
CMYKcmyk(18.7%, 58.5%, 0%, 51.8%)
CIE-LABlab(30.66, 35.04, -32.22)
CIE-LCHlch(30.66, 47.60, 317.40°)
OKLaboklab(41.71% 0.0862 -0.0902)
OKLCHoklch(41.71% 0.125 313.7)
XYZxyz(10.0139, 6.5073, 19.4636)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64337B #4A7B33
analogous
#40337B #64337B #7B336E
triadic
#64337B #7B6433 #337B64
tetradic
#64337B #7B4033 #4A7B33 #336E7B
square
#64337B #7B4033 #4A7B33 #336E7B
split-complementary
#64337B #6E7B33 #337B40
monochromatic
#1E0F24 #412150 #64337B #8745A6 #A468C0

Accessibility & contrast

On white

9.12
#64337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#64337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64337B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64337B#FFFFFF#000000##FFFFFF
##64337B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457D
Deuteranopia (green-blind)
#314979
Tritanopia (blue-blind)
#623F52
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #64337b;
/* rgb */ color: rgb(100, 51, 123);
/* oklch */ color: oklch(41.7% 0.125 313.7);
Tailwind
colors: {
  custom: {
    50: '#926da1',
    500: '#64337b',
    950: '#000000',
  },
}
SCSS
$custom: #64337b;
$custom-light: #926da1;
$custom-dark: #000000;
JSON
{
  "hex": "#64337b",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 280.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.12472,
    "h": 313.7
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#64337B
secondary
#78A862
accent
#D1577E
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #64337B

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

Preview Lab → · Contrast checker → · Palette generator →

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