#4E2263#4E2263

#4E2263 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.116 H 313.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2263
RGBrgb(78, 34, 99)
HSLhsl(281, 49%, 26%)
HSVhsv(281, 66%, 39%)
CMYKcmyk(21.2%, 65.7%, 0%, 61.2%)
CIE-LABlab(22.53, 32.63, -29.97)
CIE-LCHlch(22.53, 44.30, 317.43°)
OKLaboklab(34.62% 0.0791 -0.0842)
OKLCHoklch(34.62% 0.116 313.2)
XYZxyz(5.9657, 3.6648, 12.1951)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2263 #376322
analogous
#2D2263 #4E2263 #632257
triadic
#4E2263 #634E22 #22634E
tetradic
#4E2263 #632D22 #376322 #225763
square
#4E2263 #632D22 #376322 #225763
split-complementary
#4E2263 #576322 #22632D
monochromatic
#120817 #2A1235 #4E2263 #723291 #9641BE

Accessibility & contrast

On white

12.12
#4E2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2263
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2263#FFFFFF#000000##FFFFFF
##4E22631.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#1E3761
Tritanopia (blue-blind)
#4C2E3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2263;
/* rgb */ color: rgb(78, 34, 99);
/* oklch */ color: oklch(34.6% 0.116 313.2);
Tailwind
colors: {
  custom: {
    50: '#826090',
    500: '#4e2263',
    950: '#000000',
  },
}
SCSS
$custom: #4e2263;
$custom-light: #826090;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2263",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 280.615,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34619,
    "c": 0.1155,
    "h": 313.2
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#4E2263
secondary
#63974A
accent
#D84F7C
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2263

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

Preview Lab → · Contrast checker → · Palette generator →

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