#4A1CB4#4A1CB4

#4A1CB4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.8% C 0.213 H 285.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4A1CB4
RGBrgb(74, 28, 180)
HSLhsl(258, 73%, 41%)
HSVhsv(258, 84%, 71%)
CMYKcmyk(58.9%, 84.4%, 0%, 29.4%)
CIE-LABlab(28.33, 56.04, -71.03)
CIE-LCHlch(28.33, 90.48, 308.27°)
OKLaboklab(40.8% 0.0583 -0.2046)
OKLCHoklch(40.8% 0.213 285.9)
XYZxyz(11.4750, 5.5809, 43.6437)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1CB4 #86B41C
analogous
#1C3AB4 #4A1CB4 #961CB4
triadic
#4A1CB4 #B44A1C #1CB44A
tetradic
#4A1CB4 #B41C3A #86B41C #1CB496
square
#4A1CB4 #B41C3A #86B41C #1CB496
split-complementary
#4A1CB4 #B4961C #3AB41C
monochromatic
#1E0C4A #34147F #4A1CB4 #642FDF #8B64E7

Accessibility & contrast

On white

9.92
#4A1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4A1CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1CB4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1CB4#FFFFFF#000000##FFFFFF
##4A1CB41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#0B4C6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a1cb4;
/* rgb */ color: rgb(74, 28, 180);
/* oklch */ color: oklch(40.8% 0.213 285.9);
Tailwind
colors: {
  custom: {
    50: '#8a61cc',
    500: '#4a1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #4a1cb4;
$custom-light: #8a61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1cb4",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 258.158,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40801,
    "c": 0.21278,
    "h": 285.9
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#4A1CB4
secondary
#ABCC60
accent
#F038B8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4A1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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