#4E2C61#4E2C61

#4E2C61 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.096 H 312.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4E2C61
RGBrgb(78, 44, 97)
HSLhsl(278, 38%, 28%)
HSVhsv(278, 55%, 38%)
CMYKcmyk(19.6%, 54.6%, 0%, 62%)
CIE-LABlab(24.59, 26.32, -25.39)
CIE-LCHlch(24.59, 36.57, 316.03°)
OKLaboklab(36.09% 0.0641 -0.0709)
OKLCHoklch(36.09% 0.096 312.1)
XYZxyz(6.1999, 4.2843, 11.8073)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C61 #3F612C
analogous
#342C61 #4E2C61 #612C59
triadic
#4E2C61 #614E2C #2C614E
tetradic
#4E2C61 #61342C #3F612C #2C5961
square
#4E2C61 #61342C #3F612C #2C5961
split-complementary
#4E2C61 #59612C #2C6134
monochromatic
#110A15 #2C1937 #4E2C61 #703F8B #9155B2

Accessibility & contrast

On white

11.31
#4E2C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C61
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C61#FFFFFF#000000##FFFFFF
##4E2C611.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3963
Deuteranopia (green-blind)
#293B60
Tritanopia (blue-blind)
#4C3542
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2c61;
/* rgb */ color: rgb(78, 44, 97);
/* oklch */ color: oklch(36.1% 0.096 312.1);
Tailwind
colors: {
  custom: {
    50: '#81668e',
    500: '#4e2c61',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c61;
$custom-light: #81668e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c61",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 278.491,
    "s": 37.589,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.09559,
    "h": 312.1
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#4E2C61
secondary
#6C9356
accent
#CE5A84
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2C61

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

Preview Lab → · Contrast checker → · Palette generator →

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