#4E2D72#4E2D72

#4E2D72 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.4% C 0.116 H 303.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4E2D72
RGBrgb(78, 45, 114)
HSLhsl(269, 43%, 31%)
HSVhsv(269, 61%, 45%)
CMYKcmyk(31.6%, 60.5%, 0%, 55.3%)
CIE-LABlab(25.90, 30.16, -34.29)
CIE-LCHlch(25.90, 45.66, 311.33°)
OKLaboklab(37.4% 0.0637 -0.0969)
OKLCHoklch(37.4% 0.116 303.3)
XYZxyz(7.1168, 4.7114, 16.4508)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D72 #51722D
analogous
#2D2E72 #4E2D72 #702D72
triadic
#4E2D72 #724E2D #2D724E
tetradic
#4E2D72 #722D2E #51722D #2D7270
square
#4E2D72 #722D2E #51722D #2D7270
split-complementary
#4E2D72 #72702D #2E722D
monochromatic
#120A1A #301C46 #4E2D72 #6C3E9E #8B5BBE

Accessibility & contrast

On white

10.81
#4E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D72
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D72#FFFFFF#000000##FFFFFF
##4E2D721.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#473B4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2d72;
/* rgb */ color: rgb(78, 45, 114);
/* oklch */ color: oklch(37.4% 0.116 303.3);
Tailwind
colors: {
  custom: {
    50: '#82679b',
    500: '#4e2d72',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d72;
$custom-light: #82679b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d72",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 268.696,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37397,
    "c": 0.11595,
    "h": 303.3
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#4E2D72
secondary
#7FA357
accent
#D35597
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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