#64258B#64258B

#64258B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 309.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#64258B
RGBrgb(100, 37, 139)
HSLhsl(277, 58%, 35%)
HSVhsv(277, 73%, 55%)
CMYKcmyk(28.1%, 73.4%, 0%, 45.5%)
CIE-LABlab(29.15, 45.88, -44.63)
CIE-LCHlch(29.15, 64.00, 315.79°)
OKLaboklab(40.96% 0.1029 -0.1264)
OKLCHoklch(40.96% 0.163 309.1)
XYZxyz(10.5764, 5.8967, 25.0021)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64258B #4C8B25
analogous
#31258B #64258B #8B257F
triadic
#64258B #8B6425 #258B64
tetradic
#64258B #8B3125 #4C8B25 #257F8B
square
#64258B #8B3125 #4C8B25 #257F8B
split-complementary
#64258B #7F8B25 #258B31
monochromatic
#1E0B2A #41185B #64258B #8732BB #A458D3

Accessibility & contrast

On white

9.64
#64258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#64258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64258B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64258B#FFFFFF#000000##FFFFFF
##64258B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#0D4689
Tritanopia (blue-blind)
#5E3C55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #64258b;
/* rgb */ color: rgb(100, 37, 139);
/* oklch */ color: oklch(41.0% 0.163 309.1);
Tailwind
colors: {
  custom: {
    50: '#9466ae',
    500: '#64258b',
    950: '#000000',
  },
}
SCSS
$custom: #64258b;
$custom-light: #9466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64258b",
  "rgb": {
    "r": 100,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 277.059,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4096,
    "c": 0.16303,
    "h": 309.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#64258B
secondary
#7AB755
accent
#E14782
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64258B

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

Preview Lab → · Contrast checker → · Palette generator →

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