#4A1452#4A1452

#4A1452 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.117 H 322.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#4A1452
RGBrgb(74, 20, 82)
HSLhsl(292, 61%, 20%)
HSVhsv(292, 76%, 32%)
CMYKcmyk(9.8%, 75.6%, 0%, 67.8%)
CIE-LABlab(18.21, 34.70, -25.59)
CIE-LCHlch(18.21, 43.12, 323.60°)
OKLaboklab(31% 0.0922 -0.0714)
OKLCHoklch(31% 0.117 322.2)
XYZxyz(4.5970, 2.5656, 8.2341)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1452 #1C5214
analogous
#2B1452 #4A1452 #52143B
triadic
#4A1452 #524A14 #14524A
tetradic
#4A1452 #522B14 #1C5214 #143B52
square
#4A1452 #522B14 #1C5214 #143B52
split-complementary
#4A1452 #3B5214 #14522B
monochromatic
#160619 #1E0821 #4A1452 #762083 #A32CB4

Accessibility & contrast

On white

13.88
#4A1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4A1452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1452
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1452#FFFFFF#000000##FFFFFF
##4A14521.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022954
Deuteranopia (green-blind)
#1C2F50
Tritanopia (blue-blind)
#4B1F31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1452;
/* rgb */ color: rgb(74, 20, 82);
/* oklch */ color: oklch(31.0% 0.117 322.2);
Tailwind
colors: {
  custom: {
    50: '#7f5783',
    500: '#4a1452',
    950: '#000000',
  },
}
SCSS
$custom: #4a1452;
$custom-light: #7f5783;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1452",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 292.258,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31004,
    "c": 0.11663,
    "h": 322.2
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#4A1452
secondary
#428A38
accent
#E44459
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1452

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

Preview Lab → · Contrast checker → · Palette generator →

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