#4A1057#4A1057

#4A1057 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.127 H 319.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#4A1057
RGBrgb(74, 16, 87)
HSLhsl(289, 69%, 20%)
HSVhsv(289, 82%, 34%)
CMYKcmyk(14.9%, 81.6%, 0%, 65.9%)
CIE-LABlab(17.99, 37.42, -29.33)
CIE-LCHlch(17.99, 47.54, 321.91°)
OKLaboklab(30.96% 0.0962 -0.0823)
OKLCHoklch(30.96% 0.127 319.5)
XYZxyz(4.7294, 2.5148, 9.2513)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1057 #1D5710
analogous
#261057 #4A1057 #571040
triadic
#4A1057 #574A10 #10574A
tetradic
#4A1057 #572610 #1D5710 #104057
square
#4A1057 #572610 #1D5710 #104057
split-complementary
#4A1057 #405710 #105726
monochromatic
#16051A #1E0623 #4A1057 #761A8B #A223BE

Accessibility & contrast

On white

13.97
#4A1057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1057
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1057#FFFFFF#000000##FFFFFF
##4A10571.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#162E55
Tritanopia (blue-blind)
#4A1F33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1057;
/* rgb */ color: rgb(74, 16, 87);
/* oklch */ color: oklch(31.0% 0.127 319.5);
Tailwind
colors: {
  custom: {
    50: '#7f5687',
    500: '#4a1057',
    950: '#000000',
  },
}
SCSS
$custom: #4a1057;
$custom-light: #7f5687;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1057",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 289.014,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30955,
    "c": 0.12664,
    "h": 319.5
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#4A1057
secondary
#449032
accent
#EC3C5C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1057

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

Preview Lab → · Contrast checker → · Palette generator →

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