#4E2260#4E2260

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

Color values

HEX#4E2260
RGBrgb(78, 34, 96)
HSLhsl(283, 48%, 25%)
HSVhsv(283, 65%, 38%)
CMYKcmyk(18.7%, 64.6%, 0%, 62.4%)
CIE-LABlab(22.33, 31.90, -28.32)
CIE-LCHlch(22.33, 42.66, 318.40°)
OKLaboklab(34.41% 0.079 -0.0794)
OKLCHoklch(34.41% 0.112 314.9)
XYZxyz(5.8249, 3.6085, 11.4537)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2260 #346022
analogous
#2F2260 #4E2260 #602253
triadic
#4E2260 #604E22 #22604E
tetradic
#4E2260 #602F22 #346022 #225360
square
#4E2260 #602F22 #346022 #225360
split-complementary
#4E2260 #536022 #22602F
monochromatic
#120817 #291233 #4E2260 #73328D #9742BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2260#FFFFFF#000000##FFFFFF
##4E22601.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)
#0E3362
Deuteranopia (green-blind)
#21375E
Tritanopia (blue-blind)
#4D2D3D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2260;
/* rgb */ color: rgb(78, 34, 96);
/* oklch */ color: oklch(34.4% 0.112 314.9);
Tailwind
colors: {
  custom: {
    50: '#82608d',
    500: '#4e2260',
    950: '#000000',
  },
}
SCSS
$custom: #4e2260;
$custom-light: #82608d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2260",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 282.581,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34411,
    "c": 0.11201,
    "h": 314.9
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#4E2260
secondary
#5F944A
accent
#D75178
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2260

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

Preview Lab → · Contrast checker → · Palette generator →

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