#4A1051#4A1051

#4A1051 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.121 H 323.2°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#4A1051
RGBrgb(74, 16, 81)
HSLhsl(294, 67%, 19%)
HSVhsv(294, 80%, 32%)
CMYKcmyk(8.6%, 80.2%, 0%, 68.2%)
CIE-LABlab(17.56, 36.17, -25.96)
CIE-LCHlch(17.56, 44.52, 324.33°)
OKLaboklab(30.51% 0.0968 -0.0725)
OKLCHoklch(30.51% 0.121 323.2)
XYZxyz(4.4944, 2.4208, 8.0135)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1051 #175110
analogous
#2A1051 #4A1051 #511038
triadic
#4A1051 #514A10 #10514A
tetradic
#4A1051 #512A10 #175110 #103851
square
#4A1051 #512A10 #175110 #103851
split-complementary
#4A1051 #385110 #10512A
monochromatic
#17051A #1B061E #4A1051 #791A84 #A724B7

Accessibility & contrast

On white

14.15
#4A1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4A1051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1051
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1051#FFFFFF#000000##FFFFFF
##4A10511.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1051;
/* rgb */ color: rgb(74, 16, 81);
/* oklch */ color: oklch(30.5% 0.121 323.2);
Tailwind
colors: {
  custom: {
    50: '#7f5582',
    500: '#4a1051',
    950: '#000000',
  },
}
SCSS
$custom: #4a1051;
$custom-light: #7f5582;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1051",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 293.538,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.12092,
    "h": 323.2
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#4A1051
secondary
#3C8B32
accent
#EA3E50
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1051

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

Preview Lab → · Contrast checker → · Palette generator →

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