#4E0C45#4E0C45

#4E0C45 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.117 H 334.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#4E0C45
RGBrgb(78, 12, 69)
HSLhsl(308, 73%, 18%)
HSVhsv(308, 85%, 31%)
CMYKcmyk(0%, 84.6%, 11.5%, 69.4%)
CIE-LABlab(17.05, 36.36, -18.47)
CIE-LCHlch(17.05, 40.78, 333.07°)
OKLaboklab(30.05% 0.1059 -0.0506)
OKLCHoklch(30.05% 0.117 334.5)
XYZxyz(4.3476, 2.3127, 5.8465)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C45 #0C4E15
analogous
#360C4E #4E0C45 #4E0C24
triadic
#4E0C45 #454E0C #0C454E
tetradic
#4E0C45 #4E360C #0C4E15 #0C244E
square
#4E0C45 #4E360C #0C4E15 #0C244E
split-complementary
#4E0C45 #244E0C #0C4E36
monochromatic
#1B0417 #1B0417 #4E0C45 #831474 #B81CA3

Accessibility & contrast

On white

14.36
#4E0C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E0C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C45
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C45#FFFFFF#000000##FFFFFF
##4E0C451.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2447
Deuteranopia (green-blind)
#242D43
Tritanopia (blue-blind)
#521228
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0c45;
/* rgb */ color: rgb(78, 12, 69);
/* oklch */ color: oklch(30.0% 0.117 334.5);
Tailwind
colors: {
  custom: {
    50: '#825479',
    500: '#4e0c45',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c45;
$custom-light: #825479;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c45",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 308.182,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30049,
    "c": 0.11732,
    "h": 334.5
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#4E0C45
secondary
#2C8A39
accent
#F05138
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0C45

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

Preview Lab → · Contrast checker → · Palette generator →

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