#64368B#64368B

#64368B is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.2% C 0.139 H 306.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#64368B
RGBrgb(100, 54, 139)
HSLhsl(272, 44%, 38%)
HSVhsv(272, 61%, 55%)
CMYKcmyk(28.1%, 61.2%, 0%, 45.5%)
CIE-LABlab(32.28, 37.26, -39.58)
CIE-LCHlch(32.28, 54.36, 313.27°)
OKLaboklab(43.22% 0.0824 -0.1117)
OKLCHoklch(43.22% 0.139 306.4)
XYZxyz(11.2339, 7.2118, 25.2213)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64368B #5D8B36
analogous
#3A368B #64368B #8B3687
triadic
#64368B #8B6436 #368B64
tetradic
#64368B #8B3A36 #5D8B36 #36878B
square
#64368B #8B3A36 #5D8B36 #36878B
split-complementary
#64368B #878B36 #368B3A
monochromatic
#251433 #44255F #64368B #8447B7 #A173C9

Accessibility & contrast

On white

8.60
#64368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#64368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64368B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64368B#FFFFFF#000000##FFFFFF
##64368B1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8E
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#5E475B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #64368b;
/* rgb */ color: rgb(100, 54, 139);
/* oklch */ color: oklch(43.2% 0.139 306.4);
Tailwind
colors: {
  custom: {
    50: '#936fad',
    500: '#64368b',
    950: '#000000',
  },
}
SCSS
$custom: #64368b;
$custom-light: #936fad;
$custom-dark: #000000;
JSON
{
  "hex": "#64368b",
  "rgb": {
    "r": 100,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 272.471,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.13881,
    "h": 306.4
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#64368B
secondary
#8CB16C
accent
#D4548F
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64368B

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

Preview Lab → · Contrast checker → · Palette generator →

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