#4A1D82#4A1D82

#4A1D82 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.157 H 298.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4A1D82
RGBrgb(74, 29, 130)
HSLhsl(267, 64%, 31%)
HSVhsv(267, 78%, 51%)
CMYKcmyk(43.1%, 77.7%, 0%, 49%)
CIE-LABlab(23.49, 42.23, -48.36)
CIE-LCHlch(23.49, 64.20, 311.13°)
OKLaboklab(35.95% 0.0743 -0.1383)
OKLCHoklch(35.95% 0.157 298.2)
XYZxyz(7.2916, 3.9462, 21.4923)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D82 #55821D
analogous
#1D2282 #4A1D82 #7C1D82
triadic
#4A1D82 #824A1D #1D824A
tetradic
#4A1D82 #821D22 #55821D #1D827C
square
#4A1D82 #821D22 #55821D #1D827C
split-complementary
#4A1D82 #827C1D #22821D
monochromatic
#11071E #2E1250 #4A1D82 #6628B4 #8544D5

Accessibility & contrast

On white

11.74
#4A1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4A1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1D82
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D82#FFFFFF#000000##FFFFFF
##4A1D821.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#3C384E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1d82;
/* rgb */ color: rgb(74, 29, 130);
/* oklch */ color: oklch(35.9% 0.157 298.2);
Tailwind
colors: {
  custom: {
    50: '#825ea7',
    500: '#4a1d82',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d82;
$custom-light: #825ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d82",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 266.733,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.157,
    "h": 298.2
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#4A1D82
secondary
#83B546
accent
#E7419D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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