#4E1269#4E1269

#4E1269 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.144 H 312.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4E1269
RGBrgb(78, 18, 105)
HSLhsl(281, 71%, 24%)
HSVhsv(281, 83%, 41%)
CMYKcmyk(25.7%, 82.9%, 0%, 58.8%)
CIE-LABlab(20.33, 41.46, -37.44)
CIE-LCHlch(20.33, 55.86, 317.91°)
OKLaboklab(33.19% 0.0968 -0.106)
OKLCHoklch(33.19% 0.144 312.4)
XYZxyz(5.9075, 3.0724, 13.6437)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1269 #2D6912
analogous
#221269 #4E1269 #691259
triadic
#4E1269 #694E12 #12694E
tetradic
#4E1269 #692212 #2D6912 #125969
square
#4E1269 #692212 #2D6912 #125969
split-complementary
#4E1269 #596912 #126922
monochromatic
#13041A #270935 #4E1269 #751B9D #9C24D1

Accessibility & contrast

On white

13.01
#4E1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1269
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1269#FFFFFF#000000##FFFFFF
##4E12691.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#033267
Tritanopia (blue-blind)
#4B273E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1269;
/* rgb */ color: rgb(78, 18, 105);
/* oklch */ color: oklch(33.2% 0.144 312.4);
Tailwind
colors: {
  custom: {
    50: '#835894',
    500: '#4e1269',
    950: '#000000',
  },
}
SCSS
$custom: #4e1269;
$custom-light: #835894;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1269",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 281.379,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.14353,
    "h": 312.4
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#4E1269
secondary
#57A136
accent
#ED3A72
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1269

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

Preview Lab → · Contrast checker → · Palette generator →

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