#4E2B72#4E2B72

#4E2B72 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.119 H 303.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2B72
RGBrgb(78, 43, 114)
HSLhsl(270, 45%, 31%)
HSVhsv(270, 62%, 45%)
CMYKcmyk(31.6%, 62.3%, 0%, 55.3%)
CIE-LABlab(25.45, 31.34, -35.00)
CIE-LCHlch(25.45, 46.98, 311.84°)
OKLaboklab(37.07% 0.0664 -0.099)
OKLCHoklch(37.07% 0.119 303.9)
XYZxyz(7.0423, 4.5624, 16.4259)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B72 #4F722B
analogous
#2B2C72 #4E2B72 #712B72
triadic
#4E2B72 #724E2B #2B724E
tetradic
#4E2B72 #722B2C #4F722B #2B7271
square
#4E2B72 #722B2C #4F722B #2B7271
split-complementary
#4E2B72 #72712B #2C722B
monochromatic
#110919 #301A46 #4E2B72 #6C3C9E #8B58C0

Accessibility & contrast

On white

10.98
#4E2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B72
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B72#FFFFFF#000000##FFFFFF
##4E2B721.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#1A3C70
Tritanopia (blue-blind)
#47394A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2b72;
/* rgb */ color: rgb(78, 43, 114);
/* oklch */ color: oklch(37.1% 0.119 303.9);
Tailwind
colors: {
  custom: {
    50: '#82669b',
    500: '#4e2b72',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b72;
$custom-light: #82669b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b72",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 269.577,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37071,
    "c": 0.11921,
    "h": 303.9
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#4E2B72
secondary
#7DA455
accent
#D55395
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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