#4A1160#4A1160

#4A1160 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.134 H 314.3°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#4A1160
RGBrgb(74, 17, 96)
HSLhsl(283, 70%, 22%)
HSVhsv(283, 82%, 38%)
CMYKcmyk(22.9%, 82.3%, 0%, 62.4%)
CIE-LABlab(18.81, 39.00, -34.02)
CIE-LCHlch(18.81, 51.75, 318.90°)
OKLaboklab(31.75% 0.0938 -0.0961)
OKLCHoklch(31.75% 0.134 314.3)
XYZxyz(5.1355, 2.7015, 11.3150)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1160 #276011
analogous
#221160 #4A1160 #60114F
triadic
#4A1160 #604A11 #11604A
tetradic
#4A1160 #602211 #276011 #114F60
square
#4A1160 #602211 #276011 #114F60
split-complementary
#4A1160 #4F6011 #116022
monochromatic
#14051A #22082C #4A1160 #721A94 #9A23C8

Accessibility & contrast

On white

13.63
#4A1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4A1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1160
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1160#FFFFFF#000000##FFFFFF
##4A11601.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#482338
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1160;
/* rgb */ color: rgb(74, 17, 96);
/* oklch */ color: oklch(31.8% 0.134 314.3);
Tailwind
colors: {
  custom: {
    50: '#80578e',
    500: '#4a1160',
    950: '#000000',
  },
}
SCSS
$custom: #4a1160;
$custom-light: #80578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1160",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 283.291,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31753,
    "c": 0.1343,
    "h": 314.3
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#4A1160
secondary
#509934
accent
#ED3B6D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A1160

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

Preview Lab → · Contrast checker → · Palette generator →

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