#4E2262#4E2262

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

Color values

HEX#4E2262
RGBrgb(78, 34, 98)
HSLhsl(281, 48%, 26%)
HSVhsv(281, 65%, 38%)
CMYKcmyk(20.4%, 65.3%, 0%, 61.6%)
CIE-LABlab(22.46, 32.38, -29.42)
CIE-LCHlch(22.46, 43.75, 317.74°)
OKLaboklab(34.55% 0.0791 -0.0826)
OKLCHoklch(34.55% 0.114 313.7)
XYZxyz(5.9181, 3.6458, 11.9449)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2262 #366222
analogous
#2E2262 #4E2262 #622256
triadic
#4E2262 #624E22 #22624E
tetradic
#4E2262 #622E22 #366222 #225662
square
#4E2262 #622E22 #366222 #225662
split-complementary
#4E2262 #566222 #22622E
monochromatic
#120817 #2A1235 #4E2262 #72328F #9642BD

Accessibility & contrast

On white

12.14
#4E2262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2262
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2262#FFFFFF#000000##FFFFFF
##4E22621.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3364
Deuteranopia (green-blind)
#1F3760
Tritanopia (blue-blind)
#4C2E3E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2262;
/* rgb */ color: rgb(78, 34, 98);
/* oklch */ color: oklch(34.5% 0.114 313.7);
Tailwind
colors: {
  custom: {
    50: '#82608f',
    500: '#4e2262',
    950: '#000000',
  },
}
SCSS
$custom: #4e2262;
$custom-light: #82608f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2262",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 281.25,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34549,
    "c": 0.11434,
    "h": 313.7
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#4E2262
secondary
#62964A
accent
#D8507A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2262

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

Preview Lab → · Contrast checker → · Palette generator →

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