#4E2D6F#4E2D6F

#4E2D6F is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.2% C 0.112 H 304.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4E2D6F
RGBrgb(78, 45, 111)
HSLhsl(270, 42%, 31%)
HSVhsv(270, 59%, 44%)
CMYKcmyk(29.7%, 59.5%, 0%, 56.5%)
CIE-LABlab(25.70, 29.35, -32.69)
CIE-LCHlch(25.70, 43.93, 311.92°)
OKLaboklab(37.19% 0.0636 -0.0922)
OKLCHoklch(37.19% 0.112 304.6)
XYZxyz(6.9489, 4.6442, 15.5662)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D6F #4E6F2D
analogous
#2D2D6F #4E2D6F #6F2D6F
triadic
#4E2D6F #6F4E2D #2D6F4E
tetradic
#4E2D6F #6F2D2D #4E6F2D #2D6F6F
square
#4E2D6F #6F2D2D #4E6F2D #2D6F6F
split-complementary
#4E2D6F #6F6F2D #2D6F2D
monochromatic
#110A18 #2F1B43 #4E2D6F #6D3F9B #8B5ABC

Accessibility & contrast

On white

10.89
#4E2D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D6F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D6F#FFFFFF#000000##FFFFFF
##4E2D6F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C71
Deuteranopia (green-blind)
#203D6D
Tritanopia (blue-blind)
#483A49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2d6f;
/* rgb */ color: rgb(78, 45, 111);
/* oklch */ color: oklch(37.2% 0.112 304.6);
Tailwind
colors: {
  custom: {
    50: '#826799',
    500: '#4e2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d6f;
$custom-light: #826799;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d6f",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 270,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37186,
    "c": 0.11203,
    "h": 304.6
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#4E2D6F
secondary
#7CA157
accent
#D25694
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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