#4E2475#4E2475

#4E2475 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.134 H 304.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4E2475
RGBrgb(78, 36, 117)
HSLhsl(271, 53%, 30%)
HSVhsv(271, 69%, 46%)
CMYKcmyk(33.3%, 69.2%, 0%, 54.1%)
CIE-LABlab(24.21, 36.08, -38.91)
CIE-LCHlch(24.21, 53.07, 312.84°)
OKLaboklab(36.24% 0.0753 -0.1104)
OKLCHoklch(36.24% 0.134 304.3)
XYZxyz(6.9829, 4.1658, 17.2624)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2475 #4B7524
analogous
#252475 #4E2475 #752474
triadic
#4E2475 #754E24 #24754E
tetradic
#4E2475 #752524 #4B7524 #247475
square
#4E2475 #752524 #4B7524 #247475
split-complementary
#4E2475 #747524 #247525
monochromatic
#100717 #2F1646 #4E2475 #6D32A4 #8C4CC8

Accessibility & contrast

On white

11.46
#4E2475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2475
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2475#FFFFFF#000000##FFFFFF
##4E24751.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#093A73
Tritanopia (blue-blind)
#473649
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2475;
/* rgb */ color: rgb(78, 36, 117);
/* oklch */ color: oklch(36.2% 0.134 304.3);
Tailwind
colors: {
  custom: {
    50: '#83629d',
    500: '#4e2475',
    950: '#000000',
  },
}
SCSS
$custom: #4e2475;
$custom-light: #83629d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2475",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 271.111,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.13368,
    "h": 304.3
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#4E2475
secondary
#79A84D
accent
#DC4B91
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2475

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

Preview Lab → · Contrast checker → · Palette generator →

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