#64339C#64339C

#64339C is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.163 H 301.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#64339C
RGBrgb(100, 51, 156)
HSLhsl(268, 51%, 41%)
HSVhsv(268, 67%, 61%)
CMYKcmyk(35.9%, 67.3%, 0%, 38.8%)
CIE-LABlab(32.87, 43.21, -49.04)
CIE-LCHlch(32.87, 65.36, 311.38°)
OKLaboklab(44.02% 0.085 -0.1395)
OKLCHoklch(44.02% 0.163 301.4)
XYZxyz(12.4387, 7.4772, 32.2340)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64339C #6B9C33
analogous
#33369C #64339C #98339C
triadic
#64339C #9C6433 #339C64
tetradic
#64339C #9C3336 #6B9C33 #339C98
square
#64339C #9C3336 #6B9C33 #339C98
split-complementary
#64339C #9C9833 #369C33
monochromatic
#291540 #46246E #64339C #8249C3 #A277D3

Accessibility & contrast

On white

8.42
#64339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64339C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64339C#FFFFFF#000000##FFFFFF
##64339C1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64339c;
/* rgb */ color: rgb(100, 51, 156);
/* oklch */ color: oklch(44.0% 0.163 301.4);
Tailwind
colors: {
  custom: {
    50: '#956eba',
    500: '#64339c',
    950: '#000000',
  },
}
SCSS
$custom: #64339c;
$custom-light: #956eba;
$custom-dark: #000000;
JSON
{
  "hex": "#64339c",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 268,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44017,
    "c": 0.16336,
    "h": 301.4
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#64339C
secondary
#98BB70
accent
#DA4E99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #64339C

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

Preview Lab → · Contrast checker → · Palette generator →

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