#4E2F5C#4E2F5C

#4E2F5C is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.3% C 0.083 H 314.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#4E2F5C
RGBrgb(78, 47, 92)
HSLhsl(281, 32%, 27%)
HSVhsv(281, 49%, 36%)
CMYKcmyk(15.2%, 48.9%, 0%, 63.9%)
CIE-LABlab(25.03, 23.22, -21.42)
CIE-LCHlch(25.03, 31.59, 317.30°)
OKLaboklab(36.32% 0.0586 -0.0594)
OKLCHoklch(36.32% 0.083 314.6)
XYZxyz(6.0899, 4.4256, 10.6566)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F5C #3D5C2F
analogous
#372F5C #4E2F5C #5C2F54
triadic
#4E2F5C #5C4E2F #2F5C4E
tetradic
#4E2F5C #5C372F #3D5C2F #2F545C
square
#4E2F5C #5C372F #3D5C2F #2F545C
split-complementary
#4E2F5C #545C2F #2F5C37
monochromatic
#110A14 #2C1A33 #4E2F5C #704485 #925AAB

Accessibility & contrast

On white

11.14
#4E2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F5C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F5C#FFFFFF#000000##FFFFFF
##4E2F5C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5E
Deuteranopia (green-blind)
#2F3C5B
Tritanopia (blue-blind)
#4D3641
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2f5c;
/* rgb */ color: rgb(78, 47, 92);
/* oklch */ color: oklch(36.3% 0.083 314.6);
Tailwind
colors: {
  custom: {
    50: '#81688a',
    500: '#4e2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f5c;
$custom-light: #81688a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f5c",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 281.333,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36324,
    "c": 0.08342,
    "h": 314.6
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#4E2F5C
secondary
#6A8E59
accent
#C95F80
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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