#4A1A85#4A1A85

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

Color values

HEX#4A1A85
RGBrgb(74, 26, 133)
HSLhsl(267, 67%, 31%)
HSVhsv(267, 80%, 52%)
CMYKcmyk(44.4%, 80.5%, 0%, 47.8%)
CIE-LABlab(23.30, 44.36, -50.57)
CIE-LCHlch(23.30, 67.27, 311.26°)
OKLaboklab(35.9% 0.0761 -0.1448)
OKLCHoklch(35.9% 0.164 297.7)
XYZxyz(7.4260, 3.8880, 22.5450)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1A85 #55851A
analogous
#1A1F85 #4A1A85 #7F1A85
triadic
#4A1A85 #854A1A #1A854A
tetradic
#4A1A85 #851A1F #55851A #1A857F
square
#4A1A85 #851A1F #55851A #1A857F
split-complementary
#4A1A85 #857F1A #1F851A
monochromatic
#11061F #2E1052 #4A1A85 #6624B8 #8540DA

Accessibility & contrast

On white

11.81
#4A1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4A1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1A85
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1A85#FFFFFF#000000##FFFFFF
##4A1A851.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#3B374F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1a85;
/* rgb */ color: rgb(74, 26, 133);
/* oklch */ color: oklch(35.9% 0.164 297.7);
Tailwind
colors: {
  custom: {
    50: '#835da9',
    500: '#4a1a85',
    950: '#000000',
  },
}
SCSS
$custom: #4a1a85;
$custom-light: #835da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1a85",
  "rgb": {
    "r": 74,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 266.916,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35898,
    "c": 0.16353,
    "h": 297.7
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#4A1A85
secondary
#83B842
accent
#EA3E9D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4A1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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