#4E2D6D#4E2D6D

#4E2D6D is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.0% C 0.109 H 305.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#4E2D6D
RGBrgb(78, 45, 109)
HSLhsl(271, 42%, 30%)
HSVhsv(271, 59%, 43%)
CMYKcmyk(28.4%, 58.7%, 0%, 57.3%)
CIE-LABlab(25.57, 28.81, -31.61)
CIE-LCHlch(25.57, 42.77, 312.35°)
OKLaboklab(37.05% 0.0636 -0.0891)
OKLCHoklch(37.05% 0.109 305.5)
XYZxyz(6.8400, 4.6006, 14.9927)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D6D #4C6D2D
analogous
#2E2D6D #4E2D6D #6D2D6C
triadic
#4E2D6D #6D4E2D #2D6D4E
tetradic
#4E2D6D #6D2E2D #4C6D2D #2D6C6D
square
#4E2D6D #6D2E2D #4C6D2D #2D6C6D
split-complementary
#4E2D6D #6C6D2D #2D6D2E
monochromatic
#100916 #2F1B42 #4E2D6D #6D3F98 #8C5ABB

Accessibility & contrast

On white

10.94
#4E2D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E2D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D6D
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D6D#FFFFFF#000000##FFFFFF
##4E2D6D1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C6F
Deuteranopia (green-blind)
#223D6B
Tritanopia (blue-blind)
#493948
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2d6d;
/* rgb */ color: rgb(78, 45, 109);
/* oklch */ color: oklch(37.0% 0.109 305.5);
Tailwind
colors: {
  custom: {
    50: '#826797',
    500: '#4e2d6d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d6d;
$custom-light: #826797;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d6d",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 270.938,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37048,
    "c": 0.10941,
    "h": 305.5
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#4E2D6D
secondary
#7A9F57
accent
#D15692
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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