#4B2A8A#4B2A8A

#4B2A8A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.151 H 293.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4B2A8A
RGBrgb(75, 42, 138)
HSLhsl(261, 53%, 35%)
HSVhsv(261, 70%, 54%)
CMYKcmyk(45.7%, 69.6%, 0%, 45.9%)
CIE-LABlab(26.70, 37.93, -48.14)
CIE-LCHlch(26.70, 61.29, 308.24°)
OKLaboklab(38.47% 0.061 -0.1377)
OKLCHoklch(38.47% 0.151 293.9)
XYZxyz(8.3158, 4.9865, 24.5642)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A8A #698A2A
analogous
#2A398A #4B2A8A #7B2A8A
triadic
#4B2A8A #8A4B2A #2A8A4B
tetradic
#4B2A8A #8A2A39 #698A2A #2A8A7B
square
#4B2A8A #8A2A39 #698A2A #2A8A7B
split-complementary
#4B2A8A #8A7B2A #398A2A
monochromatic
#180D2C #311C5B #4B2A8A #6438B9 #8660CF

Accessibility & contrast

On white

10.51
#4B2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A8A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A8A#FFFFFF#000000##FFFFFF
##4B2A8A1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#394156
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2a8a;
/* rgb */ color: rgb(75, 42, 138);
/* oklch */ color: oklch(38.5% 0.151 293.9);
Tailwind
colors: {
  custom: {
    50: '#8366ad',
    500: '#4b2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a8a;
$custom-light: #8366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a8a",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 260.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.15062,
    "h": 293.9
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#4B2A8A
secondary
#96B45B
accent
#DD4BAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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