#64338E#64338E

#64338E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.147 H 305.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#64338E
RGBrgb(100, 51, 142)
HSLhsl(272, 47%, 38%)
HSVhsv(272, 64%, 56%)
CMYKcmyk(29.6%, 64.1%, 0%, 44.3%)
CIE-LABlab(31.88, 39.65, -42.08)
CIE-LCHlch(31.88, 57.82, 313.29°)
OKLaboklab(42.98% 0.0862 -0.1191)
OKLCHoklch(42.98% 0.147 305.9)
XYZxyz(11.3208, 7.0301, 26.3465)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64338E #5D8E33
analogous
#37338E #64338E #8E338A
triadic
#64338E #8E6433 #338E64
tetradic
#64338E #8E3733 #5D8E33 #338A8E
square
#64338E #8E3733 #5D8E33 #338A8E
split-complementary
#64338E #8A8E33 #338E37
monochromatic
#251334 #442361 #64338E #8443BB #A170CC

Accessibility & contrast

On white

8.73
#64338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#64338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64338E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64338E#FFFFFF#000000##FFFFFF
##64338E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#5D465B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #64338e;
/* rgb */ color: rgb(100, 51, 142);
/* oklch */ color: oklch(43.0% 0.147 305.9);
Tailwind
colors: {
  custom: {
    50: '#936eb0',
    500: '#64338e',
    950: '#000000',
  },
}
SCSS
$custom: #64338e;
$custom-light: #936eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64338e",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 272.308,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42984,
    "c": 0.14699,
    "h": 305.9
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#64338E
secondary
#8CB469
accent
#D7518F
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64338E

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

Preview Lab → · Contrast checker → · Palette generator →

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