#4A1BA0#4A1BA0

#4A1BA0 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.192 H 290.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4A1BA0
RGBrgb(74, 27, 160)
HSLhsl(261, 71%, 37%)
HSVhsv(261, 83%, 63%)
CMYKcmyk(53.7%, 83.1%, 0%, 37.3%)
CIE-LABlab(26.09, 51.10, -62.67)
CIE-LCHlch(26.09, 80.86, 309.19°)
OKLaboklab(38.64% 0.0662 -0.1802)
OKLCHoklch(38.64% 0.192 290.2)
XYZxyz(9.5593, 4.7773, 33.6693)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1BA0 #71A01B
analogous
#1B2FA0 #4A1BA0 #8D1BA0
triadic
#4A1BA0 #A04A1B #1BA04A
tetradic
#4A1BA0 #A01B2F #71A01B #1BA08D
square
#4A1BA0 #A01B2F #71A01B #1BA08D
split-complementary
#4A1BA0 #A08D1B #2FA01B
monochromatic
#1A0937 #32126C #4A1BA0 #6224D4 #8653E2

Accessibility & contrast

On white

10.74
#4A1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4A1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1BA0
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1BA0#FFFFFF#000000##FFFFFF
##4A1BA01.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#29435F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a1ba0;
/* rgb */ color: rgb(74, 27, 160);
/* oklch */ color: oklch(38.6% 0.192 290.2);
Tailwind
colors: {
  custom: {
    50: '#875fbd',
    500: '#4a1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4a1ba0;
$custom-light: #875fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1ba0",
  "rgb": {
    "r": 74,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 261.203,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.19201,
    "h": 290.2
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#4A1BA0
secondary
#9CC552
accent
#EE3AAE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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