#4B2A7A#4B2A7A

#4B2A7A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.130 H 298.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4B2A7A
RGBrgb(75, 42, 122)
HSLhsl(265, 49%, 32%)
HSVhsv(265, 66%, 48%)
CMYKcmyk(38.5%, 65.6%, 0%, 52.2%)
CIE-LABlab(25.43, 33.38, -40.14)
CIE-LCHlch(25.43, 52.21, 309.74°)
OKLaboklab(37.16% 0.063 -0.1142)
OKLCHoklch(37.16% 0.13 298.9)
XYZxyz(7.2416, 4.5568, 18.9066)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A7A #597A2A
analogous
#2A317A #4B2A7A #732A7A
triadic
#4B2A7A #7A4B2A #2A7A4B
tetradic
#4B2A7A #7A2A31 #597A2A #2A7A73
square
#4B2A7A #7A2A31 #597A2A #2A7A73
split-complementary
#4B2A7A #7A732A #317A2A
monochromatic
#130B1F #2F1A4C #4B2A7A #673AA8 #8659C6

Accessibility & contrast

On white

10.99
#4B2A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B2A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A7A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A7A#FFFFFF#000000##FFFFFF
##4B2A7A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#053C78
Tritanopia (blue-blind)
#403C4E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2a7a;
/* rgb */ color: rgb(75, 42, 122);
/* oklch */ color: oklch(37.2% 0.130 298.9);
Tailwind
colors: {
  custom: {
    50: '#8165a1',
    500: '#4b2a7a',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a7a;
$custom-light: #8165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a7a",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 264.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37158,
    "c": 0.1304,
    "h": 298.9
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#4B2A7A
secondary
#87AB55
accent
#D84FA0
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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