#4E1245#4E1245

#4E1245 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.110 H 334.6°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4E1245
RGBrgb(78, 18, 69)
HSLhsl(309, 63%, 19%)
HSVhsv(309, 77%, 31%)
CMYKcmyk(0%, 76.9%, 11.5%, 69.4%)
CIE-LABlab(17.84, 34.11, -17.23)
CIE-LCHlch(17.84, 38.22, 333.20°)
OKLaboklab(30.62% 0.0992 -0.0471)
OKLCHoklch(30.62% 0.11 334.6)
XYZxyz(4.4324, 2.4824, 5.8748)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1245 #124E1B
analogous
#39124E #4E1245 #4E1227
triadic
#4E1245 #454E12 #12454E
tetradic
#4E1245 #4E3912 #124E1B #12274E
square
#4E1245 #4E3912 #124E1B #12274E
split-complementary
#4E1245 #274E12 #124E39
monochromatic
#190616 #1C0719 #4E1245 #801D71 #B1299D

Accessibility & contrast

On white

14.03
#4E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1245
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1245#FFFFFF#000000##FFFFFF
##4E12451.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112646
Deuteranopia (green-blind)
#262F44
Tritanopia (blue-blind)
#521729
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1245;
/* rgb */ color: rgb(78, 18, 69);
/* oklch */ color: oklch(30.6% 0.110 334.6);
Tailwind
colors: {
  custom: {
    50: '#825679',
    500: '#4e1245',
    950: '#000000',
  },
}
SCSS
$custom: #4e1245;
$custom-light: #825679;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1245",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 309,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30618,
    "c": 0.10983,
    "h": 334.6
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#4E1245
secondary
#358741
accent
#E65B42
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1245

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

Preview Lab → · Contrast checker → · Palette generator →

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