#64339F#64339F

#64339F is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.167 H 300.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#64339F
RGBrgb(100, 51, 159)
HSLhsl(267, 51%, 41%)
HSVhsv(267, 68%, 62%)
CMYKcmyk(37.1%, 67.9%, 0%, 37.6%)
CIE-LABlab(33.09, 43.98, -50.49)
CIE-LCHlch(33.09, 66.96, 311.06°)
OKLaboklab(44.25% 0.0847 -0.1438)
OKLCHoklch(44.25% 0.167 300.5)
XYZxyz(12.6958, 7.5801, 33.5884)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64339F #6E9F33
analogous
#33389F #64339F #9A339F
triadic
#64339F #9F6433 #339F64
tetradic
#64339F #9F3338 #6E9F33 #339F9A
square
#64339F #9F3338 #6E9F33 #339F9A
split-complementary
#64339F #9F9A33 #389F33
monochromatic
#2A1542 #472471 #64339F #824AC5 #A279D4

Accessibility & contrast

On white

8.35
#64339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#64339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64339F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64339F#FFFFFF#000000##FFFFFF
##64339F1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#574C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #64339f;
/* rgb */ color: rgb(100, 51, 159);
/* oklch */ color: oklch(44.2% 0.167 300.5);
Tailwind
colors: {
  custom: {
    50: '#956ebc',
    500: '#64339f',
    950: '#000000',
  },
}
SCSS
$custom: #64339f;
$custom-light: #956ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#64339f",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 267.222,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.16684,
    "h": 300.5
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #64339F

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

Preview Lab → · Contrast checker → · Palette generator →

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