#4E1C6F#4E1C6F

#4E1C6F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.138 H 308.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#4E1C6F
RGBrgb(78, 28, 111)
HSLhsl(276, 60%, 27%)
HSVhsv(276, 75%, 44%)
CMYKcmyk(29.7%, 74.8%, 0%, 56.5%)
CIE-LABlab(22.30, 38.62, -38.16)
CIE-LCHlch(22.30, 54.29, 315.35°)
OKLaboklab(34.73% 0.0855 -0.1082)
OKLCHoklch(34.73% 0.138 308.3)
XYZxyz(6.4258, 3.5980, 15.3918)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C6F #3D6F1C
analogous
#251C6F #4E1C6F #6F1C66
triadic
#4E1C6F #6F4E1C #1C6F4E
tetradic
#4E1C6F #6F251C #3D6F1C #1C666F
square
#4E1C6F #6F251C #3D6F1C #1C666F
split-complementary
#4E1C6F #666F1C #1C6F25
monochromatic
#110618 #2C103E #4E1C6F #7028A0 #9238CD

Accessibility & contrast

On white

12.21
#4E1C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E1C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C6F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C6F#FFFFFF#000000##FFFFFF
##4E1C6F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#06366D
Tritanopia (blue-blind)
#492F43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1c6f;
/* rgb */ color: rgb(78, 28, 111);
/* oklch */ color: oklch(34.7% 0.138 308.3);
Tailwind
colors: {
  custom: {
    50: '#835d99',
    500: '#4e1c6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c6f;
$custom-light: #835d99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c6f",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 276.145,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34728,
    "c": 0.1379,
    "h": 308.3
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#4E1C6F
secondary
#6AA443
accent
#E34584
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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