#4E125A#4E125A

#4E125A is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.129 H 320.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#4E125A
RGBrgb(78, 18, 90)
HSLhsl(290, 67%, 21%)
HSVhsv(290, 80%, 35%)
CMYKcmyk(13.3%, 80%, 0%, 64.7%)
CIE-LABlab(19.19, 38.19, -29.38)
CIE-LCHlch(19.19, 48.18, 322.43°)
OKLaboklab(32.02% 0.0992 -0.0823)
OKLCHoklch(32.02% 0.129 320.3)
XYZxyz(5.2034, 2.7908, 9.9355)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E125A #1E5A12
analogous
#2A125A #4E125A #5A1242
triadic
#4E125A #5A4E12 #125A4E
tetradic
#4E125A #5A2A12 #1E5A12 #12425A
square
#4E125A #5A2A12 #1E5A12 #12425A
split-complementary
#4E125A #425A12 #125A2A
monochromatic
#16051A #220827 #4E125A #7A1C8D #A626C0

Accessibility & contrast

On white

13.48
#4E125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E125A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E125A#FFFFFF#000000##FFFFFF
##4E125A1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#193158
Tritanopia (blue-blind)
#4E2035
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e125a;
/* rgb */ color: rgb(78, 18, 90);
/* oklch */ color: oklch(32.0% 0.129 320.3);
Tailwind
colors: {
  custom: {
    50: '#825789',
    500: '#4e125a',
    950: '#000000',
  },
}
SCSS
$custom: #4e125a;
$custom-light: #825789;
$custom-dark: #000000;
JSON
{
  "hex": "#4e125a",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 290,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32017,
    "c": 0.12895,
    "h": 320.3
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#4E125A
secondary
#459335
accent
#EA3E5B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E125A

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

Preview Lab → · Contrast checker → · Palette generator →

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