#4A0F54#4A0F54

#4A0F54 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.125 H 321.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#4A0F54
RGBrgb(74, 15, 84)
HSLhsl(291, 70%, 19%)
HSVhsv(291, 82%, 33%)
CMYKcmyk(11.9%, 82.1%, 0%, 67.1%)
CIE-LABlab(17.63, 37.17, -27.87)
CIE-LCHlch(17.63, 46.45, 323.14°)
OKLaboklab(30.64% 0.0976 -0.078)
OKLCHoklch(30.64% 0.125 321.3)
XYZxyz(4.5949, 2.4378, 8.6143)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F54 #19540F
analogous
#280F54 #4A0F54 #540F3C
triadic
#4A0F54 #544A0F #0F544A
tetradic
#4A0F54 #54280F #19540F #0F3C54
square
#4A0F54 #54280F #19540F #0F3C54
split-complementary
#4A0F54 #3C540F #0F5428
monochromatic
#17051A #1C0620 #4A0F54 #781888 #A522BC

Accessibility & contrast

On white

14.12
#4A0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4A0F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F54
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F54#FFFFFF#000000##FFFFFF
##4A0F541.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a0f54;
/* rgb */ color: rgb(74, 15, 84);
/* oklch */ color: oklch(30.6% 0.125 321.3);
Tailwind
colors: {
  custom: {
    50: '#7f5584',
    500: '#4a0f54',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f54;
$custom-light: #7f5584;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f54",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 291.304,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30636,
    "c": 0.12495,
    "h": 321.3
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#4A0F54
secondary
#3E8E31
accent
#ED3B55
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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