#4A0F50#4A0F50

#4A0F50 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 323.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4A0F50
RGBrgb(74, 15, 80)
HSLhsl(294, 68%, 19%)
HSVhsv(294, 81%, 31%)
CMYKcmyk(7.5%, 81.3%, 0%, 68.6%)
CIE-LABlab(17.35, 36.35, -25.60)
CIE-LCHlch(17.35, 44.46, 324.84°)
OKLaboklab(30.35% 0.0979 -0.0714)
OKLCHoklch(30.35% 0.121 323.9)
XYZxyz(4.4427, 2.3770, 7.8127)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F50 #15500F
analogous
#290F50 #4A0F50 #500F35
triadic
#4A0F50 #504A0F #0F504A
tetradic
#4A0F50 #50290F #15500F #0F3550
square
#4A0F50 #50290F #15500F #0F3550
split-complementary
#4A0F50 #35500F #0F5029
monochromatic
#18051A #1A051C #4A0F50 #7A1984 #A922B7

Accessibility & contrast

On white

14.23
#4A0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F50
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F50#FFFFFF#000000##FFFFFF
##4A0F501.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#4B1B2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a0f50;
/* rgb */ color: rgb(74, 15, 80);
/* oklch */ color: oklch(30.3% 0.121 323.9);
Tailwind
colors: {
  custom: {
    50: '#7f5581',
    500: '#4a0f50',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f50;
$custom-light: #7f5581;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f50",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 294.462,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30345,
    "c": 0.1212,
    "h": 323.9
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#4A0F50
secondary
#398A31
accent
#EB3D4D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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