#64339B#64339B

#64339B is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.162 H 301.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#64339B
RGBrgb(100, 51, 155)
HSLhsl(268, 50%, 40%)
HSVhsv(268, 67%, 61%)
CMYKcmyk(35.5%, 67.1%, 0%, 39.2%)
CIE-LABlab(32.80, 42.95, -48.55)
CIE-LCHlch(32.80, 64.82, 311.50°)
OKLaboklab(43.94% 0.0851 -0.138)
OKLCHoklch(43.94% 0.162 301.7)
XYZxyz(12.3543, 7.4435, 31.7899)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64339B #6A9B33
analogous
#33369B #64339B #98339B
triadic
#64339B #9B6433 #339B64
tetradic
#64339B #9B3336 #6A9B33 #339B98
square
#64339B #9B3336 #6A9B33 #339B98
split-complementary
#64339B #9B9833 #369B33
monochromatic
#29153F #46246D #64339B #8248C3 #A276D2

Accessibility & contrast

On white

8.44
#64339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#64339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64339B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64339B#FFFFFF#000000##FFFFFF
##64339B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#024D99
Tritanopia (blue-blind)
#594A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #64339b;
/* rgb */ color: rgb(100, 51, 155);
/* oklch */ color: oklch(43.9% 0.162 301.7);
Tailwind
colors: {
  custom: {
    50: '#956eb9',
    500: '#64339b',
    950: '#000000',
  },
}
SCSS
$custom: #64339b;
$custom-light: #956eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#64339b",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 268.269,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43941,
    "c": 0.16219,
    "h": 301.7
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#64339B
secondary
#97BA6F
accent
#DA4E98
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #64339B

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

Preview Lab → · Contrast checker → · Palette generator →

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