#64387D#64387D

#64387D is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.6% C 0.119 H 311.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#64387D
RGBrgb(100, 56, 125)
HSLhsl(278, 38%, 35%)
HSVhsv(278, 55%, 49%)
CMYKcmyk(20%, 55.2%, 0%, 51%)
CIE-LABlab(31.85, 32.68, -31.58)
CIE-LCHlch(31.85, 45.44, 315.98°)
OKLaboklab(42.62% 0.0791 -0.0883)
OKLCHoklch(42.62% 0.119 311.8)
XYZxyz(10.3707, 7.0186, 20.2065)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64387D #517D38
analogous
#41387D #64387D #7D3873
triadic
#64387D #7D6438 #387D64
tetradic
#64387D #7D4138 #517D38 #38737D
square
#64387D #7D4138 #517D38 #38737D
split-complementary
#64387D #737D38 #387D41
monochromatic
#201228 #422553 #64387D #864BA7 #A370BF

Accessibility & contrast

On white

8.74
#64387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#64387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64387D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64387D#FFFFFF#000000##FFFFFF
##64387D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#614455
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #64387d;
/* rgb */ color: rgb(100, 56, 125);
/* oklch */ color: oklch(42.6% 0.119 311.8);
Tailwind
colors: {
  custom: {
    50: '#9270a3',
    500: '#64387d',
    950: '#000000',
  },
}
SCSS
$custom: #64387d;
$custom-light: #9270a3;
$custom-dark: #000000;
JSON
{
  "hex": "#64387d",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 278.261,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.11854,
    "h": 311.8
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#64387D
secondary
#80A869
accent
#CE5A84
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #64387D

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

Preview Lab → · Contrast checker → · Palette generator →

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