#4E2564#4E2564

#4E2564 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.1% C 0.112 H 312.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#4E2564
RGBrgb(78, 37, 100)
HSLhsl(279, 46%, 27%)
HSVhsv(279, 63%, 39%)
CMYKcmyk(22%, 63%, 0%, 60.8%)
CIE-LABlab(23.21, 31.20, -29.54)
CIE-LCHlch(23.21, 42.96, 316.57°)
OKLaboklab(35.14% 0.0748 -0.0829)
OKLCHoklch(35.14% 0.112 312.1)
XYZxyz(6.1033, 3.8631, 12.4783)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2564 #3B6425
analogous
#2F2564 #4E2564 #64255B
triadic
#4E2564 #644E25 #25644E
tetradic
#4E2564 #642F25 #3B6425 #255B64
square
#4E2564 #642F25 #3B6425 #255B64
split-complementary
#4E2564 #5B6425 #25642F
monochromatic
#110816 #2B1437 #4E2564 #713691 #9348BB

Accessibility & contrast

On white

11.85
#4E2564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E2564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2564
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2564#FFFFFF#000000##FFFFFF
##4E25641.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3566
Deuteranopia (green-blind)
#213862
Tritanopia (blue-blind)
#4C3040
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2564;
/* rgb */ color: rgb(78, 37, 100);
/* oklch */ color: oklch(35.1% 0.112 312.1);
Tailwind
colors: {
  custom: {
    50: '#826290',
    500: '#4e2564',
    950: '#000000',
  },
}
SCSS
$custom: #4e2564;
$custom-light: #826290;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2564",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 279.048,
    "s": 45.985,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35137,
    "c": 0.11172,
    "h": 312.1
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#4E2564
secondary
#67974E
accent
#D65280
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2564

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2564 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva