#64458C#64458C

#64458C is a mid, moderate violet. Relative luminance 0.089; OKLCH L 45.8% C 0.115 H 302.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#64458C
RGBrgb(100, 69, 140)
HSLhsl(266, 34%, 41%)
HSVhsv(266, 51%, 55%)
CMYKcmyk(28.6%, 50.7%, 0%, 45.1%)
CIE-LABlab(35.71, 28.75, -34.73)
CIE-LCHlch(35.71, 45.08, 309.62°)
OKLaboklab(45.76% 0.0615 -0.0976)
OKLCHoklch(45.76% 0.115 302.2)
XYZxyz(12.1162, 8.8590, 25.8775)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64458C #6D8C45
analogous
#45498C #64458C #87458C
triadic
#64458C #8C6445 #458C64
tetradic
#64458C #8C4549 #6D8C45 #458C87
square
#64458C #8C4549 #6D8C45 #458C87
split-complementary
#64458C #8C8745 #498C45
monochromatic
#291D3A #473163 #64458C #825EB0 #A287C4

Accessibility & contrast

On white

7.58
#64458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64458C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64458C#FFFFFF#000000##FFFFFF
##64458C1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#5D5262
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #64458c;
/* rgb */ color: rgb(100, 69, 140);
/* oklch */ color: oklch(45.8% 0.115 302.2);
Tailwind
colors: {
  custom: {
    50: '#9279ae',
    500: '#64458c',
    950: '#000000',
  },
}
SCSS
$custom: #64458c;
$custom-light: #9279ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64458c",
  "rgb": {
    "r": 100,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 266.197,
    "s": 33.971,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.11532,
    "h": 302.2
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#64458C
secondary
#9AAF7E
accent
#CA5E9B
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #64458C

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

Preview Lab → · Contrast checker → · Palette generator →

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