#4E2659#4E2659

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

Color values

HEX#4E2659
RGBrgb(78, 38, 89)
HSLhsl(287, 40%, 25%)
HSVhsv(287, 57%, 35%)
CMYKcmyk(12.4%, 57.3%, 0%, 65.1%)
CIE-LABlab(22.75, 27.98, -23.04)
CIE-LCHlch(22.75, 36.24, 320.53°)
OKLaboklab(34.58% 0.0726 -0.064)
OKLCHoklch(34.58% 0.097 318.6)
XYZxyz(5.6379, 3.7274, 9.8717)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2659 #315926
analogous
#352659 #4E2659 #59264A
triadic
#4E2659 #594E26 #26594E
tetradic
#4E2659 #593526 #315926 #264A59
square
#4E2659 #593526 #315926 #264A59
split-complementary
#4E2659 #4A5926 #265935
monochromatic
#130915 #28142E #4E2659 #743884 #994BAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2659#FFFFFF#000000##FFFFFF
##4E26591.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)
#1C345B
Deuteranopia (green-blind)
#293858
Tritanopia (blue-blind)
#4E2E3B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2659;
/* rgb */ color: rgb(78, 38, 89);
/* oklch */ color: oklch(34.6% 0.097 318.6);
Tailwind
colors: {
  custom: {
    50: '#816288',
    500: '#4e2659',
    950: '#000000',
  },
}
SCSS
$custom: #4e2659;
$custom-light: #816288;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2659",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 89
  },
  "hsl": {
    "h": 287.059,
    "s": 40.157,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.09681,
    "h": 318.6
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#4E2659
secondary
#5C8C4F
accent
#D05872
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2659

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

Preview Lab → · Contrast checker → · Palette generator →

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