#64478D#64478D

#64478D is a mid, moderate violet. Relative luminance 0.091; OKLCH L 46.2% C 0.113 H 301.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#64478D
RGBrgb(100, 71, 141)
HSLhsl(265, 33%, 42%)
HSVhsv(265, 50%, 55%)
CMYKcmyk(29.1%, 49.6%, 0%, 44.7%)
CIE-LABlab(36.25, 27.79, -34.48)
CIE-LCHlch(36.25, 44.29, 308.87°)
OKLaboklab(46.18% 0.0587 -0.0968)
OKLCHoklch(46.18% 0.113 301.2)
XYZxyz(12.3154, 9.1389, 26.3093)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64478D #708D47
analogous
#474D8D #64478D #87478D
triadic
#64478D #8D6447 #478D64
tetradic
#64478D #8D474D #708D47 #478D87
square
#64478D #8D474D #708D47 #478D87
split-complementary
#64478D #8D8747 #4D8D47
monochromatic
#2A1E3C #473364 #64478D #8262B0 #A28AC4

Accessibility & contrast

On white

7.43
#64478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#64478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64478D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64478D#FFFFFF#000000##FFFFFF
##64478D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#39558B
Tritanopia (blue-blind)
#5C5463
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #64478d;
/* rgb */ color: rgb(100, 71, 141);
/* oklch */ color: oklch(46.2% 0.113 301.2);
Tailwind
colors: {
  custom: {
    50: '#927baf',
    500: '#64478d',
    950: '#000000',
  },
}
SCSS
$custom: #64478d;
$custom-light: #927baf;
$custom-dark: #000000;
JSON
{
  "hex": "#64478d",
  "rgb": {
    "r": 100,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 264.857,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.11325,
    "h": 301.2
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#64478D
secondary
#9CB080
accent
#C95F9D
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #64478D

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

Preview Lab → · Contrast checker → · Palette generator →

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