#4E0F51#4E0F51

#4E0F51 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.124 H 326.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#4E0F51
RGBrgb(78, 15, 81)
HSLhsl(297, 69%, 19%)
HSVhsv(297, 81%, 32%)
CMYKcmyk(3.7%, 81.5%, 0%, 68.2%)
CIE-LABlab(18.17, 37.51, -24.94)
CIE-LCHlch(18.17, 45.04, 326.38°)
OKLaboklab(31.09% 0.103 -0.0693)
OKLCHoklch(31.09% 0.124 326)
XYZxyz(4.7978, 2.5558, 8.0236)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F51 #12510F
analogous
#2D0F51 #4E0F51 #510F33
triadic
#4E0F51 #514E0F #0F514E
tetradic
#4E0F51 #512D0F #12510F #0F3351
square
#4E0F51 #512D0F #12510F #0F3351
split-complementary
#4E0F51 #33510F #0F512D
monochromatic
#19051A #1C051D #4E0F51 #801985 #B122B8

Accessibility & contrast

On white

13.90
#4E0F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E0F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F51
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F51#FFFFFF#000000##FFFFFF
##4E0F511.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1E2F4F
Tritanopia (blue-blind)
#501A2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0f51;
/* rgb */ color: rgb(78, 15, 81);
/* oklch */ color: oklch(31.1% 0.124 326.0);
Tailwind
colors: {
  custom: {
    50: '#825682',
    500: '#4e0f51',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f51;
$custom-light: #825682;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f51",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 297.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31094,
    "c": 0.12415,
    "h": 326
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#4E0F51
secondary
#358B31
accent
#EC3C44
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0F51

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

Preview Lab → · Contrast checker → · Palette generator →

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