#4E2D6E#4E2D6E

#4E2D6E is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.111 H 305.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4E2D6E
RGBrgb(78, 45, 110)
HSLhsl(270, 42%, 30%)
HSVhsv(270, 59%, 43%)
CMYKcmyk(29.1%, 59.1%, 0%, 56.9%)
CIE-LABlab(25.63, 29.08, -32.15)
CIE-LCHlch(25.63, 43.35, 312.13°)
OKLaboklab(37.12% 0.0636 -0.0906)
OKLCHoklch(37.12% 0.111 305.1)
XYZxyz(6.8941, 4.6223, 15.2778)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D6E #4D6E2D
analogous
#2E2D6E #4E2D6E #6E2D6D
triadic
#4E2D6E #6E4E2D #2D6E4E
tetradic
#4E2D6E #6E2E2D #4D6E2D #2D6D6E
square
#4E2D6E #6E2E2D #4D6E2D #2D6D6E
split-complementary
#4E2D6E #6D6E2D #2D6E2E
monochromatic
#100917 #2F1B43 #4E2D6E #6D3F99 #8B5ABB

Accessibility & contrast

On white

10.91
#4E2D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D6E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D6E#FFFFFF#000000##FFFFFF
##4E2D6E1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#213D6C
Tritanopia (blue-blind)
#493949
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2d6e;
/* rgb */ color: rgb(78, 45, 110);
/* oklch */ color: oklch(37.1% 0.111 305.1);
Tailwind
colors: {
  custom: {
    50: '#826798',
    500: '#4e2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d6e;
$custom-light: #826798;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d6e",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 270.462,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37117,
    "c": 0.11072,
    "h": 305.1
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#4E2D6E
secondary
#7BA057
accent
#D25693
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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