#4E2755#4E2755

#4E2755 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.5% C 0.090 H 321.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#4E2755
RGBrgb(78, 39, 85)
HSLhsl(291, 37%, 24%)
HSVhsv(291, 54%, 33%)
CMYKcmyk(8.2%, 54.1%, 0%, 66.7%)
CIE-LABlab(22.75, 26.46, -20.39)
CIE-LCHlch(22.75, 33.41, 322.39°)
OKLaboklab(34.5% 0.0705 -0.0563)
OKLCHoklch(34.5% 0.09 321.4)
XYZxyz(5.5069, 3.7268, 9.0218)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2755 #2E5527
analogous
#372755 #4E2755 #552745
triadic
#4E2755 #554E27 #27554E
tetradic
#4E2755 #553727 #2E5527 #274555
square
#4E2755 #553727 #2E5527 #274555
split-complementary
#4E2755 #455527 #275537
monochromatic
#130A15 #28142B #4E2755 #743A7F #9B4DA9

Accessibility & contrast

On white

12.03
#4E2755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E2755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2755
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2755#FFFFFF#000000##FFFFFF
##4E27551.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203357
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#4F2D3A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2755;
/* rgb */ color: rgb(78, 39, 85);
/* oklch */ color: oklch(34.5% 0.090 321.4);
Tailwind
colors: {
  custom: {
    50: '#816385',
    500: '#4e2755',
    950: '#000000',
  },
}
SCSS
$custom: #4e2755;
$custom-light: #816385;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2755",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 85
  },
  "hsl": {
    "h": 290.87,
    "s": 37.097,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34501,
    "c": 0.09024,
    "h": 321.4
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#4E2755
secondary
#588850
accent
#CD5B6C
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2755

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

Preview Lab → · Contrast checker → · Palette generator →

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