#4A1151#4A1151

#4A1151 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.120 H 323.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#4A1151
RGBrgb(74, 17, 81)
HSLhsl(293, 65%, 19%)
HSVhsv(293, 79%, 32%)
CMYKcmyk(8.6%, 79%, 0%, 68.2%)
CIE-LABlab(17.70, 35.77, -25.74)
CIE-LCHlch(17.70, 44.06, 324.26°)
OKLaboklab(30.61% 0.0957 -0.0718)
OKLCHoklch(30.61% 0.12 323.1)
XYZxyz(4.5095, 2.4511, 8.0186)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1151 #185111
analogous
#2A1151 #4A1151 #511138
triadic
#4A1151 #514A11 #11514A
tetradic
#4A1151 #512A11 #185111 #113851
square
#4A1151 #512A11 #185111 #113851
split-complementary
#4A1151 #385111 #11512A
monochromatic
#170519 #1C061E #4A1151 #781C84 #A626B6

Accessibility & contrast

On white

14.09
#4A1151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1151
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1151#FFFFFF#000000##FFFFFF
##4A11511.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1B2E4F
Tritanopia (blue-blind)
#4B1D30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a1151;
/* rgb */ color: rgb(74, 17, 81);
/* oklch */ color: oklch(30.6% 0.120 323.1);
Tailwind
colors: {
  custom: {
    50: '#7f5682',
    500: '#4a1151',
    950: '#000000',
  },
}
SCSS
$custom: #4a1151;
$custom-light: #7f5682;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1151",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 293.438,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30612,
    "c": 0.11967,
    "h": 323.1
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#4A1151
secondary
#3D8A34
accent
#E84052
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1151

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

Preview Lab → · Contrast checker → · Palette generator →

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