#4E2065#4E2065

#4E2065 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.5% C 0.121 H 312.5°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#4E2065
RGBrgb(78, 32, 101)
HSLhsl(280, 52%, 26%)
HSVhsv(280, 68%, 40%)
CMYKcmyk(22.8%, 68.3%, 0%, 60.4%)
CIE-LABlab(22.28, 34.18, -31.69)
CIE-LCHlch(22.28, 46.61, 317.16°)
OKLaboklab(34.48% 0.0817 -0.0892)
OKLCHoklch(34.48% 0.121 312.5)
XYZxyz(6.0069, 3.5925, 12.6864)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2065 #376520
analogous
#2B2065 #4E2065 #652059
triadic
#4E2065 #654E20 #20654E
tetradic
#4E2065 #652B20 #376520 #205965
square
#4E2065 #652B20 #376520 #205965
split-complementary
#4E2065 #596520 #20652B
monochromatic
#120717 #2A1137 #4E2065 #722F93 #963EC2

Accessibility & contrast

On white

12.22
#4E2065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2065
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2065#FFFFFF#000000##FFFFFF
##4E20651.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#1B3663
Tritanopia (blue-blind)
#4B2D3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2065;
/* rgb */ color: rgb(78, 32, 101);
/* oklch */ color: oklch(34.5% 0.121 312.5);
Tailwind
colors: {
  custom: {
    50: '#825f91',
    500: '#4e2065',
    950: '#000000',
  },
}
SCSS
$custom: #4e2065;
$custom-light: #825f91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2065",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 280,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34478,
    "c": 0.12097,
    "h": 312.5
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#4E2065
secondary
#639948
accent
#DB4C7C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2065

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

Preview Lab → · Contrast checker → · Palette generator →

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