#64397F#64397F

#64397F is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.9% C 0.119 H 310.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#64397F
RGBrgb(100, 57, 127)
HSLhsl(277, 38%, 36%)
HSVhsv(277, 55%, 50%)
CMYKcmyk(21.3%, 55.1%, 0%, 50.2%)
CIE-LABlab(32.19, 32.58, -32.29)
CIE-LCHlch(32.19, 45.88, 315.25°)
OKLaboklab(42.91% 0.0778 -0.0904)
OKLCHoklch(42.91% 0.119 310.7)
XYZxyz(10.5487, 7.1681, 20.9024)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64397F #547F39
analogous
#41397F #64397F #7F3977
triadic
#64397F #7F6439 #397F64
tetradic
#64397F #7F4139 #547F39 #39777F
square
#64397F #7F4139 #547F39 #39777F
split-complementary
#64397F #777F39 #397F41
monochromatic
#21132B #432655 #64397F #854CA9 #A272C0

Accessibility & contrast

On white

8.63
#64397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#64397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64397F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64397F#FFFFFF#000000##FFFFFF
##64397F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#334D7D
Tritanopia (blue-blind)
#614556
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #64397f;
/* rgb */ color: rgb(100, 57, 127);
/* oklch */ color: oklch(42.9% 0.119 310.7);
Tailwind
colors: {
  custom: {
    50: '#9271a4',
    500: '#64397f',
    950: '#000000',
  },
}
SCSS
$custom: #64397f;
$custom-light: #9271a4;
$custom-dark: #000000;
JSON
{
  "hex": "#64397f",
  "rgb": {
    "r": 100,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 276.857,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42906,
    "c": 0.11926,
    "h": 310.7
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#64397F
secondary
#83A96B
accent
#CE5A87
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #64397F

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

Preview Lab → · Contrast checker → · Palette generator →

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