#4E1F65#4E1F65

#4E1F65 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.123 H 312.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#4E1F65
RGBrgb(78, 31, 101)
HSLhsl(280, 53%, 26%)
HSVhsv(280, 69%, 40%)
CMYKcmyk(22.8%, 69.3%, 0%, 60.4%)
CIE-LABlab(22.09, 34.70, -32.00)
CIE-LCHlch(22.09, 47.20, 317.33°)
OKLaboklab(34.34% 0.083 -0.0901)
OKLCHoklch(34.34% 0.123 312.6)
XYZxyz(5.9804, 3.5394, 12.6775)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F65 #36651F
analogous
#2B1F65 #4E1F65 #651F59
triadic
#4E1F65 #654E1F #1F654E
tetradic
#4E1F65 #652B1F #36651F #1F5965
square
#4E1F65 #652B1F #36651F #1F5965
split-complementary
#4E1F65 #59651F #1F652B
monochromatic
#120717 #2A1136 #4E1F65 #722D94 #963CC3

Accessibility & contrast

On white

12.30
#4E1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E1F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F65
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F65#FFFFFF#000000##FFFFFF
##4E1F651.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#1A3663
Tritanopia (blue-blind)
#4C2D3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1f65;
/* rgb */ color: rgb(78, 31, 101);
/* oklch */ color: oklch(34.3% 0.123 312.6);
Tailwind
colors: {
  custom: {
    50: '#825e91',
    500: '#4e1f65',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f65;
$custom-light: #825e91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f65",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 280.286,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.12251,
    "h": 312.6
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#4E1F65
secondary
#629946
accent
#DC4B7B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E1F65

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

Preview Lab → · Contrast checker → · Palette generator →

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