#4E125B#4E125B

#4E125B is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.130 H 319.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#4E125B
RGBrgb(78, 18, 91)
HSLhsl(289, 67%, 21%)
HSVhsv(289, 80%, 36%)
CMYKcmyk(14.3%, 80.2%, 0%, 64.3%)
CIE-LABlab(19.26, 38.40, -29.93)
CIE-LCHlch(19.26, 48.69, 322.07°)
OKLaboklab(32.09% 0.0991 -0.084)
OKLCHoklch(32.09% 0.13 319.7)
XYZxyz(5.2463, 2.8079, 10.1611)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E125B #1F5B12
analogous
#2A125B #4E125B #5B1244
triadic
#4E125B #5B4E12 #125B4E
tetradic
#4E125B #5B2A12 #1F5B12 #12445B
square
#4E125B #5B2A12 #1F5B12 #12445B
split-complementary
#4E125B #445B12 #125B2A
monochromatic
#16051A #220828 #4E125B #7A1C8E #A626C1

Accessibility & contrast

On white

13.45
#4E125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E125B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E125B#FFFFFF#000000##FFFFFF
##4E125B1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#183159
Tritanopia (blue-blind)
#4E2136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e125b;
/* rgb */ color: rgb(78, 18, 91);
/* oklch */ color: oklch(32.1% 0.130 319.7);
Tailwind
colors: {
  custom: {
    50: '#82578a',
    500: '#4e125b',
    950: '#000000',
  },
}
SCSS
$custom: #4e125b;
$custom-light: #82578a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e125b",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 289.315,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.12992,
    "h": 319.7
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#4E125B
secondary
#469335
accent
#EA3E5D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E125B

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

Preview Lab → · Contrast checker → · Palette generator →

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