#4A0E5D#4A0E5D

#4A0E5D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.135 H 316.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4A0E5D
RGBrgb(74, 14, 93)
HSLhsl(286, 74%, 21%)
HSVhsv(286, 85%, 36%)
CMYKcmyk(20.4%, 84.9%, 0%, 63.5%)
CIE-LABlab(18.19, 39.43, -33.02)
CIE-LCHlch(18.19, 51.43, 320.06°)
OKLaboklab(31.24% 0.0972 -0.0931)
OKLCHoklch(31.24% 0.135 316.2)
XYZxyz(4.9566, 2.5604, 10.5869)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E5D #215D0E
analogous
#220E5D #4A0E5D #5D0E48
triadic
#4A0E5D #5D4A0E #0E5D4A
tetradic
#4A0E5D #5D220E #215D0E #0E485D
square
#4A0E5D #5D220E #215D0E #0E485D
split-complementary
#4A0E5D #485D0E #0E5D22
monochromatic
#15041B #200628 #4A0E5D #741692 #9F1EC7

Accessibility & contrast

On white

13.89
#4A0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4A0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E5D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E5D#FFFFFF#000000##FFFFFF
##4A0E5D1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#0D2E5B
Tritanopia (blue-blind)
#492136
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a0e5d;
/* rgb */ color: rgb(74, 14, 93);
/* oklch */ color: oklch(31.2% 0.135 316.2);
Tailwind
colors: {
  custom: {
    50: '#80558b',
    500: '#4a0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e5d;
$custom-light: #80558b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e5d",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 285.57,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.13459,
    "h": 316.2
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#4A0E5D
secondary
#499730
accent
#F03764
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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