#4B2A9E#4B2A9E

#4B2A9E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.175 H 289.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4B2A9E
RGBrgb(75, 42, 158)
HSLhsl(257, 58%, 39%)
HSVhsv(257, 73%, 62%)
CMYKcmyk(52.5%, 73.4%, 0%, 38%)
CIE-LABlab(28.43, 43.73, -57.60)
CIE-LCHlch(28.43, 72.32, 307.20°)
OKLaboklab(40.24% 0.0571 -0.1655)
OKLCHoklch(40.24% 0.175 289)
XYZxyz(9.8994, 5.6200, 32.9043)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A9E #7D9E2A
analogous
#2A439E #4B2A9E #852A9E
triadic
#4B2A9E #9E4B2A #2A9E4B
tetradic
#4B2A9E #9E2A43 #7D9E2A #2A9E85
square
#4B2A9E #9E2A43 #7D9E2A #2A9E85
split-complementary
#4B2A9E #9E852A #439E2A
monochromatic
#1D103D #341D6E #4B2A9E #643ACB #8A6BD8

Accessibility & contrast

On white

9.89
#4B2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2A9E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A9E#FFFFFF#000000##FFFFFF
##4B2A9E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2a9e;
/* rgb */ color: rgb(75, 42, 158);
/* oklch */ color: oklch(40.2% 0.175 289.0);
Tailwind
colors: {
  custom: {
    50: '#8667bc',
    500: '#4b2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a9e;
$custom-light: #8667bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a9e",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 257.069,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.17508,
    "h": 289
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#4B2A9E
secondary
#A5BE66
accent
#E147B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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