#64339E#64339E

#64339E is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.166 H 300.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#64339E
RGBrgb(100, 51, 158)
HSLhsl(267, 51%, 41%)
HSVhsv(267, 68%, 62%)
CMYKcmyk(36.7%, 67.7%, 0%, 38%)
CIE-LABlab(33.02, 43.73, -50.01)
CIE-LCHlch(33.02, 66.43, 311.16°)
OKLaboklab(44.17% 0.0848 -0.1423)
OKLCHoklch(44.17% 0.166 300.8)
XYZxyz(12.6094, 7.5455, 33.1332)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64339E #6D9E33
analogous
#33379E #64339E #99339E
triadic
#64339E #9E6433 #339E64
tetradic
#64339E #9E3337 #6D9E33 #339E99
square
#64339E #9E3337 #6D9E33 #339E99
split-complementary
#64339E #9E9933 #379E33
monochromatic
#291541 #472470 #64339E #824AC4 #A278D3

Accessibility & contrast

On white

8.37
#64339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#64339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64339E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64339E#FFFFFF#000000##FFFFFF
##64339E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#574B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #64339e;
/* rgb */ color: rgb(100, 51, 158);
/* oklch */ color: oklch(44.2% 0.166 300.8);
Tailwind
colors: {
  custom: {
    50: '#956ebb',
    500: '#64339e',
    950: '#000000',
  },
}
SCSS
$custom: #64339e;
$custom-light: #956ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#64339e",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 267.477,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.16569,
    "h": 300.8
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#64339E
secondary
#9ABC71
accent
#DB4D9A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #64339E

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

Preview Lab → · Contrast checker → · Palette generator →

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