#4A1A89#4A1A89

#4A1A89 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.168 H 296.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4A1A89
RGBrgb(74, 26, 137)
HSLhsl(266, 68%, 32%)
HSVhsv(266, 81%, 54%)
CMYKcmyk(46%, 81%, 0%, 46.3%)
CIE-LABlab(23.67, 45.41, -52.46)
CIE-LCHlch(23.67, 69.38, 310.88°)
OKLaboklab(36.28% 0.0748 -0.1503)
OKLCHoklch(36.28% 0.168 296.5)
XYZxyz(7.7076, 4.0006, 24.0282)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1A89 #59891A
analogous
#1A2289 #4A1A89 #821A89
triadic
#4A1A89 #894A1A #1A894A
tetradic
#4A1A89 #891A22 #59891A #1A8982
square
#4A1A89 #891A22 #59891A #1A8982
split-complementary
#4A1A89 #89821A #22891A
monochromatic
#120622 #2E1056 #4A1A89 #6624BC #8442DB

Accessibility & contrast

On white

11.67
#4A1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1A89
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1A89#FFFFFF#000000##FFFFFF
##4A1A891.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#393952
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1a89;
/* rgb */ color: rgb(74, 26, 137);
/* oklch */ color: oklch(36.3% 0.168 296.5);
Tailwind
colors: {
  custom: {
    50: '#845dac',
    500: '#4a1a89',
    950: '#000000',
  },
}
SCSS
$custom: #4a1a89;
$custom-light: #845dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1a89",
  "rgb": {
    "r": 74,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 265.946,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36275,
    "c": 0.1679,
    "h": 296.5
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#4A1A89
secondary
#88BC43
accent
#EB3DA0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4A1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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