#64458B#64458B

#64458B is a mid, moderate violet. Relative luminance 0.088; OKLCH L 45.7% C 0.114 H 302.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#64458B
RGBrgb(100, 69, 139)
HSLhsl(267, 34%, 41%)
HSVhsv(267, 50%, 55%)
CMYKcmyk(28.1%, 50.4%, 0%, 45.5%)
CIE-LABlab(35.65, 28.48, -34.21)
CIE-LCHlch(35.65, 44.51, 309.78°)
OKLaboklab(45.7% 0.0614 -0.096)
OKLCHoklch(45.7% 0.114 302.6)
XYZxyz(12.0428, 8.8296, 25.4909)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64458B #6C8B45
analogous
#45498B #64458B #87458B
triadic
#64458B #8B6445 #458B64
tetradic
#64458B #8B4549 #6C8B45 #458B87
square
#64458B #8B4549 #6C8B45 #458B87
split-complementary
#64458B #8B8745 #498B45
monochromatic
#291C39 #473162 #64458B #825EAF #A287C3

Accessibility & contrast

On white

7.59
#64458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#64458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64458B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64458B#FFFFFF#000000##FFFFFF
##64458B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#5D5261
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #64458b;
/* rgb */ color: rgb(100, 69, 139);
/* oklch */ color: oklch(45.7% 0.114 302.6);
Tailwind
colors: {
  custom: {
    50: '#9279ad',
    500: '#64458b',
    950: '#000000',
  },
}
SCSS
$custom: #64458b;
$custom-light: #9279ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64458b",
  "rgb": {
    "r": 100,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 266.571,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.11398,
    "h": 302.6
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#64458B
secondary
#99AF7D
accent
#CA5E9A
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #64458B

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

Preview Lab → · Contrast checker → · Palette generator →

#64458B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva