#4A1154#4A1154

#4A1154 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.123 H 321.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#4A1154
RGBrgb(74, 17, 84)
HSLhsl(291, 66%, 20%)
HSVhsv(291, 80%, 33%)
CMYKcmyk(11.9%, 79.8%, 0%, 67.1%)
CIE-LABlab(17.91, 36.39, -27.43)
CIE-LCHlch(17.91, 45.57, 322.99°)
OKLaboklab(30.83% 0.0955 -0.0768)
OKLCHoklch(30.83% 0.123 321.2)
XYZxyz(4.6245, 2.4971, 8.6242)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1154 #1B5411
analogous
#291154 #4A1154 #54113D
triadic
#4A1154 #544A11 #11544A
tetradic
#4A1154 #542911 #1B5411 #113D54
square
#4A1154 #542911 #1B5411 #113D54
split-complementary
#4A1154 #3D5411 #115429
monochromatic
#160519 #1D0721 #4A1154 #771B87 #A426BA

Accessibility & contrast

On white

14.01
#4A1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4A1154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1154
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1154#FFFFFF#000000##FFFFFF
##4A11541.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#192E52
Tritanopia (blue-blind)
#4B1E31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1154;
/* rgb */ color: rgb(74, 17, 84);
/* oklch */ color: oklch(30.8% 0.123 321.2);
Tailwind
colors: {
  custom: {
    50: '#7f5684',
    500: '#4a1154',
    950: '#000000',
  },
}
SCSS
$custom: #4a1154;
$custom-light: #7f5684;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1154",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 291.045,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30829,
    "c": 0.12254,
    "h": 321.2
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#4A1154
secondary
#418D34
accent
#E93F58
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1154

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

Preview Lab → · Contrast checker → · Palette generator →

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