#4A1C86#4A1C86

#4A1C86 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.163 H 297.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#4A1C86
RGBrgb(74, 28, 134)
HSLhsl(266, 65%, 32%)
HSVhsv(266, 79%, 53%)
CMYKcmyk(44.8%, 79.1%, 0%, 47.5%)
CIE-LABlab(23.70, 43.75, -50.54)
CIE-LCHlch(23.70, 66.85, 310.88°)
OKLaboklab(36.21% 0.0741 -0.1447)
OKLCHoklch(36.21% 0.163 297.1)
XYZxyz(7.5412, 4.0074, 22.9258)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C86 #58861C
analogous
#1C2386 #4A1C86 #7F1C86
triadic
#4A1C86 #864A1C #1C864A
tetradic
#4A1C86 #861C23 #58861C #1C867F
square
#4A1C86 #861C23 #58861C #1C867F
split-complementary
#4A1C86 #867F1C #23861C
monochromatic
#120721 #2E1153 #4A1C86 #6627B9 #8444D8

Accessibility & contrast

On white

11.66
#4A1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4A1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1C86
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C86#FFFFFF#000000##FFFFFF
##4A1C861.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#3A3950
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1c86;
/* rgb */ color: rgb(74, 28, 134);
/* oklch */ color: oklch(36.2% 0.163 297.1);
Tailwind
colors: {
  custom: {
    50: '#835eaa',
    500: '#4a1c86',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c86;
$custom-light: #835eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c86",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 266.038,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36205,
    "c": 0.16256,
    "h": 297.1
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#4A1C86
secondary
#87B945
accent
#E83F9F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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