#4E2163#4E2163

#4E2163 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.117 H 313.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2163
RGBrgb(78, 33, 99)
HSLhsl(281, 50%, 26%)
HSVhsv(281, 67%, 39%)
CMYKcmyk(21.2%, 66.7%, 0%, 61.2%)
CIE-LABlab(22.33, 33.17, -30.29)
CIE-LCHlch(22.33, 44.92, 317.60°)
OKLaboklab(34.48% 0.0804 -0.0851)
OKLCHoklch(34.48% 0.117 313.4)
XYZxyz(5.9375, 3.6084, 12.1857)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2163 #366321
analogous
#2D2163 #4E2163 #632157
triadic
#4E2163 #634E21 #21634E
tetradic
#4E2163 #632D21 #366321 #215763
square
#4E2163 #632D21 #366321 #215763
split-complementary
#4E2163 #576321 #21632D
monochromatic
#120817 #2A1235 #4E2163 #723091 #9640BF

Accessibility & contrast

On white

12.20
#4E2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E2163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2163
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2163#FFFFFF#000000##FFFFFF
##4E21631.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073365
Deuteranopia (green-blind)
#1D3661
Tritanopia (blue-blind)
#4C2D3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2163;
/* rgb */ color: rgb(78, 33, 99);
/* oklch */ color: oklch(34.5% 0.117 313.4);
Tailwind
colors: {
  custom: {
    50: '#825f90',
    500: '#4e2163',
    950: '#000000',
  },
}
SCSS
$custom: #4e2163;
$custom-light: #825f90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2163",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 280.909,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34475,
    "c": 0.11711,
    "h": 313.4
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#4E2163
secondary
#629749
accent
#DA4E7B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2163

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

Preview Lab → · Contrast checker → · Palette generator →

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