#4A0E54#4A0E54

#4A0E54 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.126 H 321.4°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#4A0E54
RGBrgb(74, 14, 84)
HSLhsl(291, 71%, 19%)
HSVhsv(291, 83%, 33%)
CMYKcmyk(11.9%, 83.3%, 0%, 67.1%)
CIE-LABlab(17.51, 37.53, -28.07)
CIE-LCHlch(17.51, 46.87, 323.21°)
OKLaboklab(30.55% 0.0986 -0.0786)
OKLCHoklch(30.55% 0.126 321.4)
XYZxyz(4.5811, 2.4103, 8.6097)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E54 #18540E
analogous
#270E54 #4A0E54 #540E3B
triadic
#4A0E54 #544A0E #0E544A
tetradic
#4A0E54 #54270E #18540E #0E3B54
square
#4A0E54 #54270E #18540E #0E3B54
split-complementary
#4A0E54 #3B540E #0E5427
monochromatic
#17041A #1C0520 #4A0E54 #781788 #A61FBD

Accessibility & contrast

On white

14.17
#4A0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4A0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E54
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E54#FFFFFF#000000##FFFFFF
##4A0E541.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#172D52
Tritanopia (blue-blind)
#4B1C31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a0e54;
/* rgb */ color: rgb(74, 14, 84);
/* oklch */ color: oklch(30.5% 0.126 321.4);
Tailwind
colors: {
  custom: {
    50: '#7f5584',
    500: '#4a0e54',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e54;
$custom-light: #7f5584;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e54",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 291.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30546,
    "c": 0.12608,
    "h": 321.4
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#4A0E54
secondary
#3D8E2F
accent
#EE3A53
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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