#64398D#64398D

#64398D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.8% C 0.137 H 305.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#64398D
RGBrgb(100, 57, 141)
HSLhsl(271, 42%, 39%)
HSVhsv(271, 60%, 55%)
CMYKcmyk(29.1%, 59.6%, 0%, 44.7%)
CIE-LABlab(33.05, 36.07, -39.59)
CIE-LCHlch(33.05, 53.56, 312.34°)
OKLaboklab(43.82% 0.0784 -0.1118)
OKLCHoklch(43.82% 0.137 305)
XYZxyz(11.5253, 7.5587, 26.0459)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64398D #628D39
analogous
#3A398D #64398D #8D398C
triadic
#64398D #8D6439 #398D64
tetradic
#64398D #8D3A39 #628D39 #398C8D
square
#64398D #8D3A39 #628D39 #398C8D
split-complementary
#64398D #8C8D39 #398D3A
monochromatic
#261636 #452761 #64398D #834CB7 #A178C8

Accessibility & contrast

On white

8.36
#64398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#64398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64398D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64398D#FFFFFF#000000##FFFFFF
##64398D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C90
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#5D495D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #64398d;
/* rgb */ color: rgb(100, 57, 141);
/* oklch */ color: oklch(43.8% 0.137 305.0);
Tailwind
colors: {
  custom: {
    50: '#9371af',
    500: '#64398d',
    950: '#000000',
  },
}
SCSS
$custom: #64398d;
$custom-light: #9371af;
$custom-dark: #000000;
JSON
{
  "hex": "#64398d",
  "rgb": {
    "r": 100,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 270.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43815,
    "c": 0.13651,
    "h": 305
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#64398D
secondary
#90B270
accent
#D25692
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #64398D

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

Preview Lab → · Contrast checker → · Palette generator →

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