#4A0A4C#4A0A4C

#4A0A4C is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.123 H 326.8°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#4A0A4C
RGBrgb(74, 10, 76)
HSLhsl(298, 77%, 17%)
HSVhsv(298, 87%, 30%)
CMYKcmyk(2.6%, 86.8%, 0%, 70.2%)
CIE-LABlab(16.48, 37.29, -24.26)
CIE-LCHlch(16.48, 44.49, 326.95°)
OKLaboklab(29.64% 0.103 -0.0675)
OKLCHoklch(29.64% 0.123 326.8)
XYZxyz(4.2370, 2.1950, 7.0366)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0A4C #0C4C0A
analogous
#290A4C #4A0A4C #4C0A2D
triadic
#4A0A4C #4C4A0A #0A4C4A
tetradic
#4A0A4C #4C290A #0C4C0A #0A2D4C
square
#4A0A4C #4C290A #0C4C0A #0A2D4C
split-complementary
#4A0A4C #2D4C0A #0A4C29
monochromatic
#1A041B #1A041B #4A0A4C #7F1182 #B318B8

Accessibility & contrast

On white

14.59
#4A0A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A0A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0A4C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0A4C#FFFFFF#000000##FFFFFF
##4A0A4C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#1C2B4A
Tritanopia (blue-blind)
#4C162B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0a4c;
/* rgb */ color: rgb(74, 10, 76);
/* oklch */ color: oklch(29.6% 0.123 326.8);
Tailwind
colors: {
  custom: {
    50: '#7f537e',
    500: '#4a0a4c',
    950: '#000000',
  },
}
SCSS
$custom: #4a0a4c;
$custom-light: #7f537e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0a4c",
  "rgb": {
    "r": 74,
    "g": 10,
    "b": 76
  },
  "hsl": {
    "h": 298.182,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.12309,
    "h": 326.8
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#4A0A4C
secondary
#2C8929
accent
#F3353A
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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