#4E2576#4E2576

#4E2576 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.133 H 303.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4E2576
RGBrgb(78, 37, 118)
HSLhsl(270, 52%, 30%)
HSVhsv(270, 69%, 46%)
CMYKcmyk(33.9%, 68.6%, 0%, 53.7%)
CIE-LABlab(24.48, 35.81, -39.11)
CIE-LCHlch(24.48, 53.03, 312.47°)
OKLaboklab(36.46% 0.074 -0.111)
OKLCHoklch(36.46% 0.133 303.7)
XYZxyz(7.0727, 4.2509, 17.5839)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2576 #4D7625
analogous
#252576 #4E2576 #762575
triadic
#4E2576 #764E25 #25764E
tetradic
#4E2576 #762525 #4D7625 #257576
square
#4E2576 #762525 #4D7625 #257576
split-complementary
#4E2576 #757625 #257625
monochromatic
#100819 #2F1647 #4E2576 #6D34A5 #8B4EC7

Accessibility & contrast

On white

11.35
#4E2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2576
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2576#FFFFFF#000000##FFFFFF
##4E25761.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#093A74
Tritanopia (blue-blind)
#46374A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2576;
/* rgb */ color: rgb(78, 37, 118);
/* oklch */ color: oklch(36.5% 0.133 303.7);
Tailwind
colors: {
  custom: {
    50: '#83629e',
    500: '#4e2576',
    950: '#000000',
  },
}
SCSS
$custom: #4e2576;
$custom-light: #83629e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2576",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 270.37,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36463,
    "c": 0.13343,
    "h": 303.7
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#4E2576
secondary
#7BA94E
accent
#DC4C93
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2576

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

Preview Lab → · Contrast checker → · Palette generator →

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