#4A1D88#4A1D88

#4A1D88 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.164 H 296.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4A1D88
RGBrgb(74, 29, 136)
HSLhsl(265, 65%, 32%)
HSVhsv(265, 79%, 53%)
CMYKcmyk(45.6%, 78.7%, 0%, 46.7%)
CIE-LABlab(24.04, 43.83, -51.23)
CIE-LCHlch(24.04, 67.42, 310.54°)
OKLaboklab(36.5% 0.0726 -0.1468)
OKLCHoklch(36.5% 0.164 296.3)
XYZxyz(7.7062, 4.1120, 23.6755)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D88 #5B881D
analogous
#1D2588 #4A1D88 #801D88
triadic
#4A1D88 #884A1D #1D884A
tetradic
#4A1D88 #881D25 #5B881D #1D8880
square
#4A1D88 #881D25 #5B881D #1D8880
split-complementary
#4A1D88 #88801D #25881D
monochromatic
#130723 #2F1256 #4A1D88 #6528BA #8448D8

Accessibility & contrast

On white

11.52
#4A1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4A1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1D88
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D88#FFFFFF#000000##FFFFFF
##4A1D881.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#393A52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a1d88;
/* rgb */ color: rgb(74, 29, 136);
/* oklch */ color: oklch(36.5% 0.164 296.3);
Tailwind
colors: {
  custom: {
    50: '#835eac',
    500: '#4a1d88',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d88;
$custom-light: #835eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d88",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 265.234,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.16374,
    "h": 296.3
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#4A1D88
secondary
#8ABA47
accent
#E840A1
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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