#4E1B67#4E1B67

#4E1B67 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.131 H 312.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#4E1B67
RGBrgb(78, 27, 103)
HSLhsl(280, 58%, 25%)
HSVhsv(280, 74%, 40%)
CMYKcmyk(24.3%, 73.8%, 0%, 59.6%)
CIE-LABlab(21.52, 37.17, -34.22)
CIE-LCHlch(21.52, 50.52, 317.37°)
OKLaboklab(33.98% 0.0878 -0.0966)
OKLCHoklch(33.98% 0.131 312.3)
XYZxyz(5.9816, 3.3830, 13.1672)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B67 #34671B
analogous
#281B67 #4E1B67 #671B5A
triadic
#4E1B67 #674E1B #1B674E
tetradic
#4E1B67 #67281B #34671B #1B5A67
square
#4E1B67 #67281B #34671B #1B5A67
split-complementary
#4E1B67 #5A671B #1B6728
monochromatic
#120618 #290E37 #4E1B67 #732897 #9734C8

Accessibility & contrast

On white

12.53
#4E1B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B67
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B67#FFFFFF#000000##FFFFFF
##4E1B671.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#133565
Tritanopia (blue-blind)
#4B2B3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1b67;
/* rgb */ color: rgb(78, 27, 103);
/* oklch */ color: oklch(34.0% 0.131 312.3);
Tailwind
colors: {
  custom: {
    50: '#835c93',
    500: '#4e1b67',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b67;
$custom-light: #835c93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b67",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 280.263,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3398,
    "c": 0.13052,
    "h": 312.3
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#4E1B67
secondary
#5F9C42
accent
#E24679
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1B67

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

Preview Lab → · Contrast checker → · Palette generator →

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