#4B2A72#4B2A72

#4B2A72 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.5% C 0.120 H 301.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#4B2A72
RGBrgb(75, 42, 114)
HSLhsl(268, 46%, 31%)
HSVhsv(268, 63%, 45%)
CMYKcmyk(34.2%, 63.2%, 0%, 55.3%)
CIE-LABlab(24.85, 31.15, -35.99)
CIE-LCHlch(24.85, 47.60, 310.88°)
OKLaboklab(36.55% 0.0634 -0.102)
OKLCHoklch(36.55% 0.12 301.9)
XYZxyz(6.7662, 4.3667, 16.4027)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A72 #51722A
analogous
#2A2D72 #4B2A72 #6F2A72
triadic
#4B2A72 #724B2A #2A724B
tetradic
#4B2A72 #722A2D #51722A #2A726F
square
#4B2A72 #722A2D #51722A #2A726F
split-complementary
#4B2A72 #726F2A #2D722A
monochromatic
#100919 #2E1A45 #4B2A72 #683A9F #8756C1

Accessibility & contrast

On white

11.21
#4B2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4B2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A72
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A72#FFFFFF#000000##FFFFFF
##4B2A721.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A74
Deuteranopia (green-blind)
#153B70
Tritanopia (blue-blind)
#433949
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b2a72;
/* rgb */ color: rgb(75, 42, 114);
/* oklch */ color: oklch(36.5% 0.120 301.9);
Tailwind
colors: {
  custom: {
    50: '#80659b',
    500: '#4b2a72',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a72;
$custom-light: #80659b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a72",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 267.5,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.1201,
    "h": 301.9
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#4B2A72
secondary
#7FA454
accent
#D65299
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4B2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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