#64258C#64258C

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

Color values

HEX#64258C
RGBrgb(100, 37, 140)
HSLhsl(277, 58%, 35%)
HSVhsv(277, 74%, 55%)
CMYKcmyk(28.6%, 73.6%, 0%, 45.1%)
CIE-LABlab(29.23, 46.11, -45.13)
CIE-LCHlch(29.23, 64.52, 315.62°)
OKLaboklab(41.04% 0.1027 -0.1279)
OKLCHoklch(41.04% 0.164 308.8)
XYZxyz(10.6498, 5.9261, 25.3887)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64258C #4D8C25
analogous
#31258C #64258C #8C2581
triadic
#64258C #8C6425 #258C64
tetradic
#64258C #8C3125 #4D8C25 #25818C
square
#64258C #8C3125 #4D8C25 #25818C
split-complementary
#64258C #818C25 #258C31
monochromatic
#1F0B2B #41185C #64258C #8732BC #A358D3

Accessibility & contrast

On white

9.61
#64258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#64258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64258C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64258C#FFFFFF#000000##FFFFFF
##64258C1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#0A468A
Tritanopia (blue-blind)
#5E3D56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #64258c;
/* rgb */ color: rgb(100, 37, 140);
/* oklch */ color: oklch(41.0% 0.164 308.8);
Tailwind
colors: {
  custom: {
    50: '#9466ae',
    500: '#64258c',
    950: '#000000',
  },
}
SCSS
$custom: #64258c;
$custom-light: #9466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64258c",
  "rgb": {
    "r": 100,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 276.699,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.16406,
    "h": 308.8
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#64258C
secondary
#7BB855
accent
#E14683
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64258C

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

Preview Lab → · Contrast checker → · Palette generator →

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