#4A1054#4A1054

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

Color values

HEX#4A1054
RGBrgb(74, 16, 84)
HSLhsl(291, 68%, 20%)
HSVhsv(291, 81%, 33%)
CMYKcmyk(11.9%, 81%, 0%, 67.1%)
CIE-LABlab(17.77, 36.78, -27.65)
CIE-LCHlch(17.77, 46.02, 323.06°)
OKLaboklab(30.73% 0.0966 -0.0774)
OKLCHoklch(30.73% 0.124 321.3)
XYZxyz(4.6094, 2.4668, 8.6191)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1054 #1A5410
analogous
#281054 #4A1054 #54103C
triadic
#4A1054 #544A10 #10544A
tetradic
#4A1054 #542810 #1A5410 #103C54
square
#4A1054 #542810 #1A5410 #103C54
split-complementary
#4A1054 #3C5410 #105428
monochromatic
#17051A #1D0621 #4A1054 #771A87 #A524BB

Accessibility & contrast

On white

14.06
#4A1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1054
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1054#FFFFFF#000000##FFFFFF
##4A10541.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#182E52
Tritanopia (blue-blind)
#4B1D31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a1054;
/* rgb */ color: rgb(74, 16, 84);
/* oklch */ color: oklch(30.7% 0.124 321.3);
Tailwind
colors: {
  custom: {
    50: '#7f5584',
    500: '#4a1054',
    950: '#000000',
  },
}
SCSS
$custom: #4a1054;
$custom-light: #7f5584;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1054",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 291.176,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30731,
    "c": 0.12376,
    "h": 321.3
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#4A1054
secondary
#408E32
accent
#EB3D57
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1054

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

Preview Lab → · Contrast checker → · Palette generator →

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