#4A1163#4A1163

#4A1163 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.137 H 312.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4A1163
RGBrgb(74, 17, 99)
HSLhsl(282, 71%, 23%)
HSVhsv(282, 83%, 39%)
CMYKcmyk(25.3%, 82.8%, 0%, 61.2%)
CIE-LABlab(19.05, 39.67, -35.61)
CIE-LCHlch(19.05, 53.31, 318.09°)
OKLaboklab(32% 0.0932 -0.1008)
OKLCHoklch(32% 0.137 312.8)
XYZxyz(5.2762, 2.7578, 12.0563)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1163 #2A6311
analogous
#211163 #4A1163 #631153
triadic
#4A1163 #634A11 #11634A
tetradic
#4A1163 #632111 #2A6311 #115363
square
#4A1163 #632111 #2A6311 #115363
split-complementary
#4A1163 #536311 #116321
monochromatic
#14041A #23082F #4A1163 #711A97 #9823CB

Accessibility & contrast

On white

13.53
#4A1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4A1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1163
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1163#FFFFFF#000000##FFFFFF
##4A11631.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#052F61
Tritanopia (blue-blind)
#47253A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1163;
/* rgb */ color: rgb(74, 17, 99);
/* oklch */ color: oklch(32.0% 0.137 312.8);
Tailwind
colors: {
  custom: {
    50: '#805790',
    500: '#4a1163',
    950: '#000000',
  },
}
SCSS
$custom: #4a1163;
$custom-light: #805790;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1163",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 281.707,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31998,
    "c": 0.13728,
    "h": 312.8
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#4A1163
secondary
#549B34
accent
#ED3A71
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A1163

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

Preview Lab → · Contrast checker → · Palette generator →

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