#4A2B9E#4A2B9E

#4A2B9E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.174 H 288.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4A2B9E
RGBrgb(74, 43, 158)
HSLhsl(256, 57%, 39%)
HSVhsv(256, 73%, 62%)
CMYKcmyk(53.2%, 72.8%, 0%, 38%)
CIE-LABlab(28.52, 43.04, -57.47)
CIE-LCHlch(28.52, 71.80, 306.83°)
OKLaboklab(40.28% 0.0547 -0.1651)
OKLCHoklch(40.28% 0.174 288.3)
XYZxyz(9.8577, 5.6518, 32.9126)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B9E #7F9E2B
analogous
#2B469E #4A2B9E #842B9E
triadic
#4A2B9E #9E4A2B #2B9E4A
tetradic
#4A2B9E #9E2B46 #7F9E2B #2B9E84
square
#4A2B9E #9E2B46 #7F9E2B #2B9E84
split-complementary
#4A2B9E #9E842B #469E2B
monochromatic
#1D113E #331E6E #4A2B9E #623CCA #896CD7

Accessibility & contrast

On white

9.86
#4A2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4A2B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B9E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B9E#FFFFFF#000000##FFFFFF
##4A2B9E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#2A4A62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a2b9e;
/* rgb */ color: rgb(74, 43, 158);
/* oklch */ color: oklch(40.3% 0.174 288.3);
Tailwind
colors: {
  custom: {
    50: '#8567bc',
    500: '#4a2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b9e;
$custom-light: #8567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b9e",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 256.174,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.17399,
    "h": 288.3
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#4A2B9E
secondary
#A6BE67
accent
#E047B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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