#4E1246#4E1246

#4E1246 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.111 H 333.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#4E1246
RGBrgb(78, 18, 70)
HSLhsl(308, 63%, 19%)
HSVhsv(308, 77%, 31%)
CMYKcmyk(0%, 76.9%, 10.3%, 69.4%)
CIE-LABlab(17.90, 34.29, -17.83)
CIE-LCHlch(17.90, 38.65, 332.52°)
OKLaboklab(30.68% 0.0993 -0.0488)
OKLCHoklch(30.68% 0.111 333.8)
XYZxyz(4.4637, 2.4949, 6.0396)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1246 #124E1A
analogous
#38124E #4E1246 #4E1228
triadic
#4E1246 #464E12 #12464E
tetradic
#4E1246 #4E3812 #124E1A #12284E
square
#4E1246 #4E3812 #124E1A #12284E
split-complementary
#4E1246 #284E12 #124E38
monochromatic
#190616 #1C0719 #4E1246 #801D73 #B1299F

Accessibility & contrast

On white

14.01
#4E1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E1246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1246
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1246#FFFFFF#000000##FFFFFF
##4E12461.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112647
Deuteranopia (green-blind)
#262F45
Tritanopia (blue-blind)
#52172A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1246;
/* rgb */ color: rgb(78, 18, 70);
/* oklch */ color: oklch(30.7% 0.111 333.8);
Tailwind
colors: {
  custom: {
    50: '#825679',
    500: '#4e1246',
    950: '#000000',
  },
}
SCSS
$custom: #4e1246;
$custom-light: #825679;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1246",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 308,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30677,
    "c": 0.11067,
    "h": 333.8
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#4E1246
secondary
#358740
accent
#E65842
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1246

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

Preview Lab → · Contrast checker → · Palette generator →

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