#4E2D6B#4E2D6B

#4E2D6B is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.107 H 306.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4E2D6B
RGBrgb(78, 45, 107)
HSLhsl(272, 41%, 30%)
HSVhsv(272, 58%, 42%)
CMYKcmyk(27.1%, 57.9%, 0%, 58%)
CIE-LABlab(25.44, 28.28, -30.53)
CIE-LCHlch(25.44, 41.62, 312.81°)
OKLaboklab(36.91% 0.0635 -0.0859)
OKLCHoklch(36.91% 0.107 306.5)
XYZxyz(6.7336, 4.5581, 14.4321)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D6B #4A6B2D
analogous
#2F2D6B #4E2D6B #6B2D69
triadic
#4E2D6B #6B4E2D #2D6B4E
tetradic
#4E2D6B #6B2F2D #4A6B2D #2D696B
square
#4E2D6B #6B2F2D #4A6B2D #2D696B
split-complementary
#4E2D6B #696B2D #2D6B2F
monochromatic
#100916 #2F1B40 #4E2D6B #6D3F96 #8C59B9

Accessibility & contrast

On white

10.99
#4E2D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D6B
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D6B#FFFFFF#000000##FFFFFF
##4E2D6B1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6D
Deuteranopia (green-blind)
#233D69
Tritanopia (blue-blind)
#493847
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2d6b;
/* rgb */ color: rgb(78, 45, 107);
/* oklch */ color: oklch(36.9% 0.107 306.5);
Tailwind
colors: {
  custom: {
    50: '#826796',
    500: '#4e2d6b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d6b;
$custom-light: #826796;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d6b",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 271.935,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.10679,
    "h": 306.5
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#4E2D6B
secondary
#789D57
accent
#D15790
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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