#64397D#64397D

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

Color values

HEX#64397D
RGBrgb(100, 57, 125)
HSLhsl(278, 37%, 36%)
HSVhsv(278, 54%, 49%)
CMYKcmyk(20%, 54.4%, 0%, 51%)
CIE-LABlab(32.07, 32.10, -31.23)
CIE-LCHlch(32.07, 44.78, 315.79°)
OKLaboklab(42.78% 0.0776 -0.0873)
OKLCHoklch(42.78% 0.117 311.6)
XYZxyz(10.4197, 7.1165, 20.2228)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64397D #527D39
analogous
#42397D #64397D #7D3974
triadic
#64397D #7D6439 #397D64
tetradic
#64397D #7D4239 #527D39 #39747D
square
#64397D #7D4239 #527D39 #39747D
split-complementary
#64397D #747D39 #397D42
monochromatic
#211329 #422653 #64397D #864CA7 #A272BF

Accessibility & contrast

On white

8.67
#64397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#64397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64397D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64397D#FFFFFF#000000##FFFFFF
##64397D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64397d;
/* rgb */ color: rgb(100, 57, 125);
/* oklch */ color: oklch(42.8% 0.117 311.6);
Tailwind
colors: {
  custom: {
    50: '#9271a3',
    500: '#64397d',
    950: '#000000',
  },
}
SCSS
$custom: #64397d;
$custom-light: #9271a3;
$custom-dark: #000000;
JSON
{
  "hex": "#64397d",
  "rgb": {
    "r": 100,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 277.941,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.11681,
    "h": 311.6
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#64397D
secondary
#81A86A
accent
#CD5A85
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #64397D

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

Preview Lab → · Contrast checker → · Palette generator →

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