#4A0C55#4A0C55

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

Color values

HEX#4A0C55
RGBrgb(74, 12, 85)
HSLhsl(291, 75%, 19%)
HSVhsv(291, 86%, 33%)
CMYKcmyk(12.9%, 85.9%, 0%, 66.7%)
CIE-LABlab(17.34, 38.43, -29.01)
CIE-LCHlch(17.34, 48.15, 322.95°)
OKLaboklab(30.45% 0.1003 -0.0814)
OKLCHoklch(30.45% 0.129 320.9)
XYZxyz(4.5950, 2.3749, 8.8089)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C55 #17550C
analogous
#260C55 #4A0C55 #550C3C
triadic
#4A0C55 #554A0C #0C554A
tetradic
#4A0C55 #55260C #17550C #0C3C55
square
#4A0C55 #55260C #17550C #0C3C55
split-complementary
#4A0C55 #3C550C #0C5526
monochromatic
#17041B #1B041F #4A0C55 #79148B #A71BC0

Accessibility & contrast

On white

14.24
#4A0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C55
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C55#FFFFFF#000000##FFFFFF
##4A0C551.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#152D53
Tritanopia (blue-blind)
#4B1C31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a0c55;
/* rgb */ color: rgb(74, 12, 85);
/* oklch */ color: oklch(30.5% 0.129 320.9);
Tailwind
colors: {
  custom: {
    50: '#805485',
    500: '#4a0c55',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c55;
$custom-light: #805485;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c55",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 290.959,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30453,
    "c": 0.12913,
    "h": 320.9
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#4A0C55
secondary
#3C902D
accent
#F23652
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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