#4E2261#4E2261

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

Color values

HEX#4E2261
RGBrgb(78, 34, 97)
HSLhsl(282, 48%, 26%)
HSVhsv(282, 65%, 38%)
CMYKcmyk(19.6%, 64.9%, 0%, 62%)
CIE-LABlab(22.40, 32.14, -28.87)
CIE-LCHlch(22.40, 43.21, 318.07°)
OKLaboklab(34.48% 0.0791 -0.081)
OKLCHoklch(34.48% 0.113 314.3)
XYZxyz(5.8712, 3.6270, 11.6977)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2261 #356122
analogous
#2E2261 #4E2261 #612254
triadic
#4E2261 #614E22 #22614E
tetradic
#4E2261 #612E22 #356122 #225461
square
#4E2261 #612E22 #356122 #225461
split-complementary
#4E2261 #546122 #22612E
monochromatic
#120817 #2A1234 #4E2261 #72328E #9742BC

Accessibility & contrast

On white

12.17
#4E2261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2261
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2261#FFFFFF#000000##FFFFFF
##4E22611.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3363
Deuteranopia (green-blind)
#20375F
Tritanopia (blue-blind)
#4C2D3E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2261;
/* rgb */ color: rgb(78, 34, 97);
/* oklch */ color: oklch(34.5% 0.113 314.3);
Tailwind
colors: {
  custom: {
    50: '#82608e',
    500: '#4e2261',
    950: '#000000',
  },
}
SCSS
$custom: #4e2261;
$custom-light: #82608e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2261",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 281.905,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3448,
    "c": 0.11317,
    "h": 314.3
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#4E2261
secondary
#61954A
accent
#D85079
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2261

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

Preview Lab → · Contrast checker → · Palette generator →

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