#4A0F57#4A0F57

#4A0F57 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.128 H 319.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4A0F57
RGBrgb(74, 15, 87)
HSLhsl(289, 71%, 20%)
HSVhsv(289, 83%, 34%)
CMYKcmyk(14.9%, 82.8%, 0%, 65.9%)
CIE-LABlab(17.85, 37.79, -29.54)
CIE-LCHlch(17.85, 47.97, 321.99°)
OKLaboklab(30.86% 0.0972 -0.0829)
OKLCHoklch(30.86% 0.128 319.5)
XYZxyz(4.7149, 2.4859, 9.2464)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F57 #1C570F
analogous
#260F57 #4A0F57 #570F40
triadic
#4A0F57 #574A0F #0F574A
tetradic
#4A0F57 #57260F #1C570F #0F4057
square
#4A0F57 #57260F #1C570F #0F4057
split-complementary
#4A0F57 #40570F #0F5726
monochromatic
#16051A #1E0623 #4A0F57 #76188B #A321BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A0F57#FFFFFF#000000##FFFFFF
##4A0F571.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)
#002859
Deuteranopia (green-blind)
#152E55
Tritanopia (blue-blind)
#4A1E33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a0f57;
/* rgb */ color: rgb(74, 15, 87);
/* oklch */ color: oklch(30.9% 0.128 319.5);
Tailwind
colors: {
  custom: {
    50: '#7f5587',
    500: '#4a0f57',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f57;
$custom-light: #7f5587;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f57",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 289.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.30862,
    "c": 0.12779,
    "h": 319.5
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#4A0F57
secondary
#429131
accent
#ED3A5B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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