#64397E#64397E

#64397E is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.8% C 0.118 H 311.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#64397E
RGBrgb(100, 57, 126)
HSLhsl(277, 38%, 36%)
HSVhsv(277, 55%, 49%)
CMYKcmyk(20.6%, 54.8%, 0%, 50.6%)
CIE-LABlab(32.13, 32.34, -31.76)
CIE-LCHlch(32.13, 45.33, 315.52°)
OKLaboklab(42.84% 0.0777 -0.0889)
OKLCHoklch(42.84% 0.118 311.2)
XYZxyz(10.4839, 7.1422, 20.5609)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64397E #537E39
analogous
#41397E #64397E #7E3975
triadic
#64397E #7E6439 #397E64
tetradic
#64397E #7E4139 #537E39 #39757E
square
#64397E #7E4139 #537E39 #39757E
split-complementary
#64397E #757E39 #397E41
monochromatic
#21132A #432654 #64397E #854CA8 #A272BF

Accessibility & contrast

On white

8.65
#64397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64397E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64397E#FFFFFF#000000##FFFFFF
##64397E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#614556
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #64397e;
/* rgb */ color: rgb(100, 57, 126);
/* oklch */ color: oklch(42.8% 0.118 311.2);
Tailwind
colors: {
  custom: {
    50: '#9271a4',
    500: '#64397e',
    950: '#000000',
  },
}
SCSS
$custom: #64397e;
$custom-light: #9271a4;
$custom-dark: #000000;
JSON
{
  "hex": "#64397e",
  "rgb": {
    "r": 100,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 277.391,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.11803,
    "h": 311.2
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#64397E
secondary
#82A86A
accent
#CE5A86
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #64397E

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

Preview Lab → · Contrast checker → · Palette generator →

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