#64338D#64338D

#64338D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.146 H 306.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#64338D
RGBrgb(100, 51, 141)
HSLhsl(273, 47%, 38%)
HSVhsv(273, 64%, 55%)
CMYKcmyk(29.1%, 63.8%, 0%, 44.7%)
CIE-LABlab(31.81, 39.40, -41.58)
CIE-LCHlch(31.81, 57.28, 313.46°)
OKLaboklab(42.91% 0.0862 -0.1176)
OKLCHoklch(42.91% 0.146 306.3)
XYZxyz(11.2460, 7.0002, 25.9529)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64338D #5C8D33
analogous
#37338D #64338D #8D3389
triadic
#64338D #8D6433 #338D64
tetradic
#64338D #8D3733 #5C8D33 #33898D
square
#64338D #8D3733 #5C8D33 #33898D
split-complementary
#64338D #898D33 #338D37
monochromatic
#241233 #442360 #64338D #8443BA #A16FCB

Accessibility & contrast

On white

8.75
#64338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#64338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64338D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64338D#FFFFFF#000000##FFFFFF
##64338D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#5D455B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #64338d;
/* rgb */ color: rgb(100, 51, 141);
/* oklch */ color: oklch(42.9% 0.146 306.3);
Tailwind
colors: {
  custom: {
    50: '#936eaf',
    500: '#64338d',
    950: '#000000',
  },
}
SCSS
$custom: #64338d;
$custom-light: #936eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#64338d",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 272.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.14581,
    "h": 306.3
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#64338D
secondary
#8BB369
accent
#D7518E
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64338D

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

Preview Lab → · Contrast checker → · Palette generator →

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