#4A1052#4A1052

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

Color values

HEX#4A1052
RGBrgb(74, 16, 82)
HSLhsl(293, 67%, 19%)
HSVhsv(293, 80%, 32%)
CMYKcmyk(9.8%, 80.5%, 0%, 67.8%)
CIE-LABlab(17.63, 36.37, -26.53)
CIE-LCHlch(17.63, 45.02, 323.90°)
OKLaboklab(30.59% 0.0967 -0.0741)
OKLCHoklch(30.59% 0.122 322.5)
XYZxyz(4.5322, 2.4359, 8.2125)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1052 #185210
analogous
#291052 #4A1052 #521039
triadic
#4A1052 #524A10 #10524A
tetradic
#4A1052 #522910 #185210 #103952
square
#4A1052 #522910 #185210 #103952
split-complementary
#4A1052 #395210 #105229
monochromatic
#17051A #1C061F #4A1052 #781A85 #A624B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A1052#FFFFFF#000000##FFFFFF
##4A10521.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)
#002754
Deuteranopia (green-blind)
#1A2D50
Tritanopia (blue-blind)
#4B1C30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a1052;
/* rgb */ color: rgb(74, 16, 82);
/* oklch */ color: oklch(30.6% 0.122 322.5);
Tailwind
colors: {
  custom: {
    50: '#7f5583',
    500: '#4a1052',
    950: '#000000',
  },
}
SCSS
$custom: #4a1052;
$custom-light: #7f5583;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1052",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 292.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30585,
    "c": 0.12186,
    "h": 322.5
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#4A1052
secondary
#3D8C32
accent
#EA3E52
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1052

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

Preview Lab → · Contrast checker → · Palette generator →

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