#4A2BA0#4A2BA0

#4A2BA0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.176 H 287.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4A2BA0
RGBrgb(74, 43, 160)
HSLhsl(256, 58%, 40%)
HSVhsv(256, 73%, 63%)
CMYKcmyk(53.7%, 73.1%, 0%, 37.3%)
CIE-LABlab(28.70, 43.62, -58.39)
CIE-LCHlch(28.70, 72.89, 306.76°)
OKLaboklab(40.46% 0.0543 -0.1678)
OKLCHoklch(40.46% 0.176 287.9)
XYZxyz(10.0312, 5.7212, 33.8266)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BA0 #81A02B
analogous
#2B47A0 #4A2BA0 #842BA0
triadic
#4A2BA0 #A04A2B #2BA04A
tetradic
#4A2BA0 #A02B47 #81A02B #2BA084
square
#4A2BA0 #A02B47 #81A02B #2BA084
split-complementary
#4A2BA0 #A0842B #47A02B
monochromatic
#1D1140 #341E70 #4A2BA0 #633DCB #8A6ED8

Accessibility & contrast

On white

9.79
#4A2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BA0
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BA0#FFFFFF#000000##FFFFFF
##4A2BA01.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#284A63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a2ba0;
/* rgb */ color: rgb(74, 43, 160);
/* oklch */ color: oklch(40.5% 0.176 287.9);
Tailwind
colors: {
  custom: {
    50: '#8667bd',
    500: '#4a2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ba0;
$custom-light: #8667bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ba0",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 255.897,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.17641,
    "h": 287.9
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#4A2BA0
secondary
#A8BF68
accent
#E147B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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