#4A2BB9#4A2BB9

#4A2BB9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.9% C 0.206 H 283.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4A2BB9
RGBrgb(74, 43, 185)
HSLhsl(253, 62%, 45%)
HSVhsv(253, 77%, 73%)
CMYKcmyk(60%, 76.8%, 0%, 27.5%)
CIE-LABlab(31.08, 50.94, -69.47)
CIE-LCHlch(31.08, 86.14, 306.26°)
OKLaboklab(42.86% 0.048 -0.2002)
OKLCHoklch(42.86% 0.206 283.5)
XYZxyz(12.4422, 6.6856, 46.5243)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BB9 #9AB92B
analogous
#2B53B9 #4A2BB9 #912BB9
triadic
#4A2BB9 #B94A2B #2BB94A
tetradic
#4A2BB9 #B92B53 #9AB92B #2BB991
square
#4A2BB9 #B92B53 #9AB92B #2BB991
split-complementary
#4A2BB9 #B9912B #53B92B
monochromatic
#221456 #361F87 #4A2BB9 #6A4CD5 #937EE1

Accessibility & contrast

On white

8.99
#4A2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4A2BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BB9
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BB9#FFFFFF#000000##FFFFFF
##4A2BB91.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2bb9;
/* rgb */ color: rgb(74, 43, 185);
/* oklch */ color: oklch(42.9% 0.206 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a69cf',
    500: '#4a2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bb9;
$custom-light: #8a69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bb9",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 253.099,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.20593,
    "h": 283.5
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#4A2BB9
secondary
#B7C976
accent
#E542C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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