#4E2C6F#4E2C6F

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

Color values

HEX#4E2C6F
RGBrgb(78, 44, 111)
HSLhsl(270, 43%, 30%)
HSVhsv(270, 60%, 44%)
CMYKcmyk(29.7%, 60.4%, 0%, 56.5%)
CIE-LABlab(25.47, 29.95, -33.05)
CIE-LCHlch(25.47, 44.60, 312.18°)
OKLaboklab(37.02% 0.065 -0.0933)
OKLCHoklch(37.02% 0.114 304.9)
XYZxyz(6.9112, 4.5688, 15.5536)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C6F #4D6F2C
analogous
#2C2C6F #4E2C6F #6F2C6E
triadic
#4E2C6F #6F4E2C #2C6F4E
tetradic
#4E2C6F #6F2C2C #4D6F2C #2C6E6F
square
#4E2C6F #6F2C2C #4D6F2C #2C6E6F
split-complementary
#4E2C6F #6E6F2C #2C6F2C
monochromatic
#100917 #2F1B43 #4E2C6F #6D3D9B #8B58BD

Accessibility & contrast

On white

10.97
#4E2C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2C6F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C6F#FFFFFF#000000##FFFFFF
##4E2C6F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#1F3C6D
Tritanopia (blue-blind)
#483949
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2c6f;
/* rgb */ color: rgb(78, 44, 111);
/* oklch */ color: oklch(37.0% 0.114 304.9);
Tailwind
colors: {
  custom: {
    50: '#826799',
    500: '#4e2c6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c6f;
$custom-light: #826799;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c6f",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 270.448,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3702,
    "c": 0.11371,
    "h": 304.9
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#4E2C6F
secondary
#7BA156
accent
#D35593
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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