#4E2E7D#4E2E7D

#4E2E7D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.129 H 298.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2E7D
RGBrgb(78, 46, 125)
HSLhsl(264, 46%, 34%)
HSVhsv(264, 63%, 49%)
CMYKcmyk(37.6%, 63.2%, 0%, 51%)
CIE-LABlab(26.89, 32.60, -39.67)
CIE-LCHlch(26.89, 51.34, 309.41°)
OKLaboklab(38.37% 0.0621 -0.1127)
OKLCHoklch(38.37% 0.129 298.8)
XYZxyz(7.8196, 5.0543, 19.9617)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E7D #5D7D2E
analogous
#2E357D #4E2E7D #752E7D
triadic
#4E2E7D #7D4E2E #2E7D4E
tetradic
#4E2E7D #7D2E35 #5D7D2E #2E7D75
square
#4E2E7D #7D2E35 #5D7D2E #2E7D75
split-complementary
#4E2E7D #7D752E #357D2E
monochromatic
#160D24 #321E50 #4E2E7D #6A3EAA #8961C5

Accessibility & contrast

On white

10.44
#4E2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E7D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E7D#FFFFFF#000000##FFFFFF
##4E2E7D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#0F3F7B
Tritanopia (blue-blind)
#433F51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2e7d;
/* rgb */ color: rgb(78, 46, 125);
/* oklch */ color: oklch(38.4% 0.129 298.8);
Tailwind
colors: {
  custom: {
    50: '#8368a3',
    500: '#4e2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e7d;
$custom-light: #8368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e7d",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 264.304,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38368,
    "c": 0.12868,
    "h": 298.8
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#4E2E7D
secondary
#8BAB5B
accent
#D652A0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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