#64387B#64387B

#64387B is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.5% C 0.116 H 312.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#64387B
RGBrgb(100, 56, 123)
HSLhsl(279, 37%, 35%)
HSVhsv(279, 54%, 48%)
CMYKcmyk(18.7%, 54.5%, 0%, 51.8%)
CIE-LABlab(31.73, 32.20, -30.51)
CIE-LCHlch(31.73, 44.36, 316.54°)
OKLaboklab(42.5% 0.0789 -0.0852)
OKLCHoklch(42.5% 0.116 312.8)
XYZxyz(10.2442, 6.9680, 19.5404)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64387B #4F7B38
analogous
#43387B #64387B #7B3870
triadic
#64387B #7B6438 #387B64
tetradic
#64387B #7B4338 #4F7B38 #38707B
square
#64387B #7B4338 #4F7B38 #38707B
split-complementary
#64387B #707B38 #387B43
monochromatic
#201227 #422551 #64387B #864BA5 #A370BE

Accessibility & contrast

On white

8.77
#64387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#64387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64387B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64387B#FFFFFF#000000##FFFFFF
##64387B1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#354C79
Tritanopia (blue-blind)
#624354
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #64387b;
/* rgb */ color: rgb(100, 56, 123);
/* oklch */ color: oklch(42.5% 0.116 312.8);
Tailwind
colors: {
  custom: {
    50: '#9270a1',
    500: '#64387b',
    950: '#000000',
  },
}
SCSS
$custom: #64387b;
$custom-light: #9270a1;
$custom-dark: #000000;
JSON
{
  "hex": "#64387b",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 279.403,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.11612,
    "h": 312.8
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#64387B
secondary
#7EA768
accent
#CD5A82
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #64387B

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

Preview Lab → · Contrast checker → · Palette generator →

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