#4A0C46#4A0C46

#4A0C46 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.116 H 331.0°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#4A0C46
RGBrgb(74, 12, 70)
HSLhsl(304, 72%, 17%)
HSVhsv(304, 84%, 29%)
CMYKcmyk(0%, 83.8%, 5.4%, 71%)
CIE-LABlab(16.31, 35.52, -20.38)
CIE-LCHlch(16.31, 40.95, 330.15°)
OKLaboklab(29.39% 0.1012 -0.0562)
OKLCHoklch(29.39% 0.116 331)
XYZxyz(4.0610, 2.1613, 5.9965)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C46 #0C4A10
analogous
#2F0C4A #4A0C46 #4A0C27
triadic
#4A0C46 #464A0C #0C464A
tetradic
#4A0C46 #4A2F0C #0C4A10 #0C274A
square
#4A0C46 #4A2F0C #0C4A10 #0C274A
split-complementary
#4A0C46 #274A0C #0C4A2F
monochromatic
#1A0419 #1A0419 #4A0C46 #7F1578 #B31DAA

Accessibility & contrast

On white

14.66
#4A0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A0C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C46
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C46#FFFFFF#000000##FFFFFF
##4A0C461.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062348
Deuteranopia (green-blind)
#202B45
Tritanopia (blue-blind)
#4D1428
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0c46;
/* rgb */ color: rgb(74, 12, 70);
/* oklch */ color: oklch(29.4% 0.116 331.0);
Tailwind
colors: {
  custom: {
    50: '#7f5379',
    500: '#4a0c46',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c46;
$custom-light: #7f5379;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c46",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 303.871,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2939,
    "c": 0.11578,
    "h": 331
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#4A0C46
secondary
#2C8632
accent
#EF4539
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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