#64339D#64339D

#64339D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.165 H 301.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#64339D
RGBrgb(100, 51, 157)
HSLhsl(268, 51%, 41%)
HSVhsv(268, 68%, 62%)
CMYKcmyk(36.3%, 67.5%, 0%, 38.4%)
CIE-LABlab(32.94, 43.47, -49.52)
CIE-LCHlch(32.94, 65.89, 311.27°)
OKLaboklab(44.09% 0.0849 -0.1409)
OKLCHoklch(44.09% 0.165 301.1)
XYZxyz(12.5237, 7.5112, 32.6818)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64339D #6C9D33
analogous
#33379D #64339D #99339D
triadic
#64339D #9D6433 #339D64
tetradic
#64339D #9D3337 #6C9D33 #339D99
square
#64339D #9D3337 #6C9D33 #339D99
split-complementary
#64339D #9D9933 #379D33
monochromatic
#291541 #47246F #64339D #8249C4 #A277D3

Accessibility & contrast

On white

8.39
#64339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#64339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64339D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64339D#FFFFFF#000000##FFFFFF
##64339D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#584B63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #64339d;
/* rgb */ color: rgb(100, 51, 157);
/* oklch */ color: oklch(44.1% 0.165 301.1);
Tailwind
colors: {
  custom: {
    50: '#956ebb',
    500: '#64339d',
    950: '#000000',
  },
}
SCSS
$custom: #64339d;
$custom-light: #956ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#64339d",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 267.736,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.16452,
    "h": 301.1
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#64339D
secondary
#99BB70
accent
#DA4D99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #64339D

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

Preview Lab → · Contrast checker → · Palette generator →

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