#64398C#64398C

#64398C is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.135 H 305.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#64398C
RGBrgb(100, 57, 140)
HSLhsl(271, 42%, 39%)
HSVhsv(271, 59%, 55%)
CMYKcmyk(28.6%, 59.3%, 0%, 45.1%)
CIE-LABlab(32.98, 35.82, -39.08)
CIE-LCHlch(32.98, 53.01, 312.51°)
OKLaboklab(43.75% 0.0784 -0.1103)
OKLCHoklch(43.75% 0.135 305.4)
XYZxyz(11.4513, 7.5291, 25.6559)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64398C #618C39
analogous
#3A398C #64398C #8C398A
triadic
#64398C #8C6439 #398C64
tetradic
#64398C #8C3A39 #618C39 #398A8C
square
#64398C #8C3A39 #618C39 #398A8C
split-complementary
#64398C #8A8C39 #398C3A
monochromatic
#261635 #452761 #64398C #834CB6 #A178C8

Accessibility & contrast

On white

8.38
#64398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64398C
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64398C#FFFFFF#000000##FFFFFF
##64398C1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8F
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#5D495D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #64398c;
/* rgb */ color: rgb(100, 57, 140);
/* oklch */ color: oklch(43.7% 0.135 305.4);
Tailwind
colors: {
  custom: {
    50: '#9371ae',
    500: '#64398c',
    950: '#000000',
  },
}
SCSS
$custom: #64398c;
$custom-light: #9371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64398c",
  "rgb": {
    "r": 100,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 271.084,
    "s": 42.132,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43748,
    "c": 0.13527,
    "h": 305.4
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#64398C
secondary
#8FB170
accent
#D25692
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #64398C

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

Preview Lab → · Contrast checker → · Palette generator →

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