#4A1D83#4A1D83

#4A1D83 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.158 H 297.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#4A1D83
RGBrgb(74, 29, 131)
HSLhsl(266, 64%, 31%)
HSVhsv(266, 78%, 51%)
CMYKcmyk(43.5%, 77.9%, 0%, 48.6%)
CIE-LABlab(23.58, 42.49, -48.84)
CIE-LCHlch(23.58, 64.74, 311.02°)
OKLaboklab(36.04% 0.074 -0.1397)
OKLCHoklch(36.04% 0.158 297.9)
XYZxyz(7.3591, 3.9731, 21.8475)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D83 #56831D
analogous
#1D2383 #4A1D83 #7D1D83
triadic
#4A1D83 #834A1D #1D834A
tetradic
#4A1D83 #831D23 #56831D #1D837D
square
#4A1D83 #831D23 #56831D #1D837D
split-complementary
#4A1D83 #837D1D #23831D
monochromatic
#11071F #2E1251 #4A1D83 #6628B5 #8545D6

Accessibility & contrast

On white

11.70
#4A1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1D83
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D83#FFFFFF#000000##FFFFFF
##4A1D831.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#3B384F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1d83;
/* rgb */ color: rgb(74, 29, 131);
/* oklch */ color: oklch(36.0% 0.158 297.9);
Tailwind
colors: {
  custom: {
    50: '#835ea8',
    500: '#4a1d83',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d83;
$custom-light: #835ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d83",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 266.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36041,
    "c": 0.15812,
    "h": 297.9
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#4A1D83
secondary
#85B646
accent
#E7419E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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