#4A1155#4A1155

#4A1155 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.124 H 320.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4A1155
RGBrgb(74, 17, 85)
HSLhsl(290, 67%, 20%)
HSVhsv(290, 80%, 33%)
CMYKcmyk(12.9%, 80%, 0%, 66.7%)
CIE-LABlab(17.98, 36.60, -27.99)
CIE-LCHlch(17.98, 46.08, 322.59°)
OKLaboklab(30.9% 0.0954 -0.0784)
OKLCHoklch(30.9% 0.124 320.6)
XYZxyz(4.6640, 2.5129, 8.8319)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1155 #1C5511
analogous
#281155 #4A1155 #55113E
triadic
#4A1155 #554A11 #11554A
tetradic
#4A1155 #552811 #1C5511 #113E55
square
#4A1155 #552811 #1C5511 #113E55
split-complementary
#4A1155 #3E5511 #115528
monochromatic
#16051A #1E0722 #4A1155 #761B88 #A325BB

Accessibility & contrast

On white

13.98
#4A1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1155
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1155#FFFFFF#000000##FFFFFF
##4A11551.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#182E53
Tritanopia (blue-blind)
#4A1E32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1155;
/* rgb */ color: rgb(74, 17, 85);
/* oklch */ color: oklch(30.9% 0.124 320.6);
Tailwind
colors: {
  custom: {
    50: '#7f5685',
    500: '#4a1155',
    950: '#000000',
  },
}
SCSS
$custom: #4a1155;
$custom-light: #7f5685;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1155",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 290.294,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.12351,
    "h": 320.6
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#4A1155
secondary
#428E34
accent
#EA3E5A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1155

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

Preview Lab → · Contrast checker → · Palette generator →

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