#4A1261#4A1261

#4A1261 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.134 H 313.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4A1261
RGBrgb(74, 18, 97)
HSLhsl(283, 69%, 23%)
HSVhsv(283, 81%, 38%)
CMYKcmyk(23.7%, 81.4%, 0%, 62%)
CIE-LABlab(19.02, 38.83, -34.33)
CIE-LCHlch(19.02, 51.83, 318.52°)
OKLaboklab(31.93% 0.0927 -0.097)
OKLCHoklch(31.93% 0.134 313.7)
XYZxyz(5.1976, 2.7517, 11.5643)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1261 #296112
analogous
#231261 #4A1261 #611250
triadic
#4A1261 #614A12 #12614A
tetradic
#4A1261 #612312 #296112 #125061
square
#4A1261 #612312 #296112 #125061
split-complementary
#4A1261 #506112 #126123
monochromatic
#14051A #23082D #4A1261 #711C95 #9925C8

Accessibility & contrast

On white

13.54
#4A1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1261
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1261#FFFFFF#000000##FFFFFF
##4A12611.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#0A2F5F
Tritanopia (blue-blind)
#482439
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1261;
/* rgb */ color: rgb(74, 18, 97);
/* oklch */ color: oklch(31.9% 0.134 313.7);
Tailwind
colors: {
  custom: {
    50: '#80578e',
    500: '#4a1261',
    950: '#000000',
  },
}
SCSS
$custom: #4a1261;
$custom-light: #80578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1261",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 282.532,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31929,
    "c": 0.13417,
    "h": 313.7
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#4A1261
secondary
#539936
accent
#EC3C6F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A1261

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

Preview Lab → · Contrast checker → · Palette generator →

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