#4A0C53#4A0C53

#4A0C53 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.3% C 0.127 H 322.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#4A0C53
RGBrgb(74, 12, 83)
HSLhsl(292, 75%, 19%)
HSVhsv(292, 86%, 33%)
CMYKcmyk(10.8%, 85.5%, 0%, 67.5%)
CIE-LABlab(17.20, 38.02, -27.89)
CIE-LCHlch(17.20, 47.15, 323.73°)
OKLaboklab(30.3% 0.1005 -0.0781)
OKLCHoklch(30.3% 0.127 322.2)
XYZxyz(4.5167, 2.3436, 8.3964)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C53 #15530C
analogous
#260C53 #4A0C53 #530C38
triadic
#4A0C53 #534A0C #0C534A
tetradic
#4A0C53 #53260C #15530C #0C3853
square
#4A0C53 #53260C #15530C #0C3853
split-complementary
#4A0C53 #38530C #0C5326
monochromatic
#18041B #1A041E #4A0C53 #7A1488 #A91BBE

Accessibility & contrast

On white

14.30
#4A0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4A0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C53
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C53#FFFFFF#000000##FFFFFF
##4A0C531.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#172D51
Tritanopia (blue-blind)
#4B1B30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0c53;
/* rgb */ color: rgb(74, 12, 83);
/* oklch */ color: oklch(30.3% 0.127 322.2);
Tailwind
colors: {
  custom: {
    50: '#7f5484',
    500: '#4a0c53',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c53;
$custom-light: #7f5484;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c53",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 292.394,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30302,
    "c": 0.1273,
    "h": 322.2
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#4A0C53
secondary
#398E2D
accent
#F1364E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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