#64338A#64338A

#64338A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.142 H 307.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#64338A
RGBrgb(100, 51, 138)
HSLhsl(274, 46%, 37%)
HSVhsv(274, 63%, 54%)
CMYKcmyk(27.5%, 63%, 0%, 45.9%)
CIE-LABlab(31.61, 38.66, -40.05)
CIE-LCHlch(31.61, 55.66, 313.98°)
OKLaboklab(42.7% 0.0864 -0.1131)
OKLCHoklch(42.7% 0.142 307.4)
XYZxyz(11.0259, 6.9121, 24.7931)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64338A #598A33
analogous
#38338A #64338A #8A3385
triadic
#64338A #8A6433 #338A64
tetradic
#64338A #8A3833 #598A33 #33858A
square
#64338A #8A3833 #598A33 #33858A
split-complementary
#64338A #858A33 #338A38
monochromatic
#231231 #44225D #64338A #8444B7 #A16EC9

Accessibility & contrast

On white

8.81
#64338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#64338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64338A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64338A#FFFFFF#000000##FFFFFF
##64338A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07498D
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#5E4459
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #64338a;
/* rgb */ color: rgb(100, 51, 138);
/* oklch */ color: oklch(42.7% 0.142 307.4);
Tailwind
colors: {
  custom: {
    50: '#936dad',
    500: '#64338a',
    950: '#000000',
  },
}
SCSS
$custom: #64338a;
$custom-light: #936dad;
$custom-dark: #000000;
JSON
{
  "hex": "#64338a",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 273.793,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42702,
    "c": 0.14229,
    "h": 307.4
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#64338A
secondary
#88B167
accent
#D6528C
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64338A

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

Preview Lab → · Contrast checker → · Palette generator →

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