#64397B#64397B

#64397B is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.7% C 0.114 H 312.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#64397B
RGBrgb(100, 57, 123)
HSLhsl(279, 37%, 35%)
HSVhsv(279, 54%, 48%)
CMYKcmyk(18.7%, 53.7%, 0%, 51.8%)
CIE-LABlab(31.96, 31.62, -30.16)
CIE-LCHlch(31.96, 43.70, 316.35°)
OKLaboklab(42.66% 0.0774 -0.0842)
OKLCHoklch(42.66% 0.114 312.6)
XYZxyz(10.2932, 7.0659, 19.5567)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64397B #507B39
analogous
#43397B #64397B #7B3971
triadic
#64397B #7B6439 #397B64
tetradic
#64397B #7B4339 #507B39 #39717B
square
#64397B #7B4339 #507B39 #39717B
split-complementary
#64397B #717B39 #397B43
monochromatic
#201227 #422651 #64397B #864CA5 #A371BD

Accessibility & contrast

On white

8.70
#64397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#64397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64397B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64397B#FFFFFF#000000##FFFFFF
##64397B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#624454
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #64397b;
/* rgb */ color: rgb(100, 57, 123);
/* oklch */ color: oklch(42.7% 0.114 312.6);
Tailwind
colors: {
  custom: {
    50: '#9271a1',
    500: '#64397b',
    950: '#000000',
  },
}
SCSS
$custom: #64397b;
$custom-light: #9271a1;
$custom-dark: #000000;
JSON
{
  "hex": "#64397b",
  "rgb": {
    "r": 100,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 279.091,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.11436,
    "h": 312.6
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#64397B
secondary
#7FA669
accent
#CD5B83
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #64397B

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

Preview Lab → · Contrast checker → · Palette generator →

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