#64418F#64418F

#64418F is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.3% C 0.126 H 302.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#64418F
RGBrgb(100, 65, 143)
HSLhsl(267, 38%, 41%)
HSVhsv(267, 55%, 56%)
CMYKcmyk(30.1%, 54.5%, 0%, 43.9%)
CIE-LABlab(34.95, 31.94, -37.77)
CIE-LCHlch(34.95, 49.47, 310.21°)
OKLaboklab(45.26% 0.0675 -0.1065)
OKLCHoklch(45.26% 0.126 302.4)
XYZxyz(12.1026, 8.4731, 26.9791)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64418F #6C8F41
analogous
#41458F #64418F #8B418F
triadic
#64418F #8F6441 #418F64
tetradic
#64418F #8F4145 #6C8F41 #418F8B
square
#64418F #8F4145 #6C8F41 #418F8B
split-complementary
#64418F #8F8B41 #458F41
monochromatic
#291B3B #472E65 #64418F #8259B4 #A284C7

Accessibility & contrast

On white

7.79
#64418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#64418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64418F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64418F#FFFFFF#000000##FFFFFF
##64418F1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255292
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#5C5061
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #64418f;
/* rgb */ color: rgb(100, 65, 143);
/* oklch */ color: oklch(45.3% 0.126 302.4);
Tailwind
colors: {
  custom: {
    50: '#9377b0',
    500: '#64418f',
    950: '#000000',
  },
}
SCSS
$custom: #64418f;
$custom-light: #9377b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64418f",
  "rgb": {
    "r": 100,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 266.923,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.12603,
    "h": 302.4
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#64418F
secondary
#99B17A
accent
#CD5A9A
background
#F9F7FA
surface
#F1EDF5
border
#CBC8CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #64418F

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

Preview Lab → · Contrast checker → · Palette generator →

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