#4E2570#4E2570

#4E2570 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.126 H 306.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4E2570
RGBrgb(78, 37, 112)
HSLhsl(273, 50%, 29%)
HSVhsv(273, 67%, 44%)
CMYKcmyk(30.4%, 67%, 0%, 56.1%)
CIE-LABlab(24.04, 34.24, -35.99)
CIE-LCHlch(24.04, 49.67, 313.57°)
OKLaboklab(36% 0.0745 -0.1018)
OKLCHoklch(36% 0.126 306.2)
XYZxyz(6.7275, 4.1128, 15.7655)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2570 #477025
analogous
#292570 #4E2570 #70256D
triadic
#4E2570 #704E25 #25704E
tetradic
#4E2570 #702925 #477025 #256D70
square
#4E2570 #702925 #477025 #256D70
split-complementary
#4E2570 #6D7025 #257029
monochromatic
#100817 #2E1642 #4E2570 #6E349E #8D4CC4

Accessibility & contrast

On white

11.52
#4E2570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2570
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2570#FFFFFF#000000##FFFFFF
##4E25701.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#14396E
Tritanopia (blue-blind)
#483547
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2570;
/* rgb */ color: rgb(78, 37, 112);
/* oklch */ color: oklch(36.0% 0.126 306.2);
Tailwind
colors: {
  custom: {
    50: '#83629a',
    500: '#4e2570',
    950: '#000000',
  },
}
SCSS
$custom: #4e2570;
$custom-light: #83629a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2570",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 272.8,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.12619,
    "h": 306.2
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#4E2570
secondary
#74A34E
accent
#DA4E8D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2570

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

Preview Lab → · Contrast checker → · Palette generator →

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