#4E125F#4E125F

#4E125F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.134 H 317.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#4E125F
RGBrgb(78, 18, 95)
HSLhsl(287, 68%, 22%)
HSVhsv(287, 81%, 37%)
CMYKcmyk(17.9%, 81.1%, 0%, 62.7%)
CIE-LABlab(19.55, 39.25, -32.12)
CIE-LCHlch(19.55, 50.72, 320.71°)
OKLaboklab(32.39% 0.0986 -0.0904)
OKLCHoklch(32.39% 0.134 317.5)
XYZxyz(5.4234, 2.8788, 11.0942)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E125F #235F12
analogous
#27125F #4E125F #5F124A
triadic
#4E125F #5F4E12 #125F4E
tetradic
#4E125F #5F2712 #235F12 #124A5F
square
#4E125F #5F2712 #235F12 #124A5F
split-complementary
#4E125F #4A5F12 #125F27
monochromatic
#15051A #24082C #4E125F #781C92 #A225C6

Accessibility & contrast

On white

13.33
#4E125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E125F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E125F#FFFFFF#000000##FFFFFF
##4E125F1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#14315D
Tritanopia (blue-blind)
#4D2338
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e125f;
/* rgb */ color: rgb(78, 18, 95);
/* oklch */ color: oklch(32.4% 0.134 317.5);
Tailwind
colors: {
  custom: {
    50: '#83588d',
    500: '#4e125f',
    950: '#000000',
  },
}
SCSS
$custom: #4e125f;
$custom-light: #83588d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e125f",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 286.753,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.13376,
    "h": 317.5
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#4E125F
secondary
#4B9736
accent
#EB3D63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E125F

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

Preview Lab → · Contrast checker → · Palette generator →

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