#4E1F61#4E1F61

#4E1F61 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.118 H 314.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4E1F61
RGBrgb(78, 31, 97)
HSLhsl(283, 52%, 25%)
HSVhsv(283, 68%, 38%)
CMYKcmyk(19.6%, 68%, 0%, 62%)
CIE-LABlab(21.81, 33.75, -29.81)
CIE-LCHlch(21.81, 45.04, 318.55°)
OKLaboklab(34.05% 0.0832 -0.0837)
OKLCHoklch(34.05% 0.118 314.8)
XYZxyz(5.7892, 3.4629, 11.6704)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F61 #32611F
analogous
#2D1F61 #4E1F61 #611F53
triadic
#4E1F61 #614E1F #1F614E
tetradic
#4E1F61 #612D1F #32611F #1F5361
square
#4E1F61 #612D1F #32611F #1F5361
split-complementary
#4E1F61 #53611F #1F612D
monochromatic
#130717 #291033 #4E1F61 #732E8F #993DBE

Accessibility & contrast

On white

12.41
#4E1F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E1F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F61
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F61#FFFFFF#000000##FFFFFF
##4E1F611.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053263
Deuteranopia (green-blind)
#1D355F
Tritanopia (blue-blind)
#4C2B3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1f61;
/* rgb */ color: rgb(78, 31, 97);
/* oklch */ color: oklch(34.1% 0.118 314.8);
Tailwind
colors: {
  custom: {
    50: '#825e8e',
    500: '#4e1f61',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f61;
$custom-light: #825e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f61",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 282.727,
    "s": 51.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.11801,
    "h": 314.8
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#4E1F61
secondary
#5D9646
accent
#DB4D76
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1F61

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

Preview Lab → · Contrast checker → · Palette generator →

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