#4B2972#4B2972

#4B2972 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.122 H 302.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#4B2972
RGBrgb(75, 41, 114)
HSLhsl(268, 47%, 30%)
HSVhsv(268, 64%, 45%)
CMYKcmyk(34.2%, 64%, 0%, 55.3%)
CIE-LABlab(24.63, 31.74, -36.34)
CIE-LCHlch(24.63, 48.25, 311.13°)
OKLaboklab(36.39% 0.0648 -0.103)
OKLCHoklch(36.39% 0.122 302.2)
XYZxyz(6.7311, 4.2966, 16.3910)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2972 #507229
analogous
#292B72 #4B2972 #6F2972
triadic
#4B2972 #724B29 #29724B
tetradic
#4B2972 #72292B #507229 #29726F
square
#4B2972 #72292B #507229 #29726F
split-complementary
#4B2972 #726F29 #2B7229
monochromatic
#100918 #2D1945 #4B2972 #69399F #8754C1

Accessibility & contrast

On white

11.29
#4B2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4B2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2972
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2972#FFFFFF#000000##FFFFFF
##4B29721.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#133A70
Tritanopia (blue-blind)
#433849
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2972;
/* rgb */ color: rgb(75, 41, 114);
/* oklch */ color: oklch(36.4% 0.122 302.2);
Tailwind
colors: {
  custom: {
    50: '#80659b',
    500: '#4b2972',
    950: '#000000',
  },
}
SCSS
$custom: #4b2972;
$custom-light: #80659b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2972",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 267.945,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36387,
    "c": 0.12169,
    "h": 302.2
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#4B2972
secondary
#7EA453
accent
#D75198
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #4B2972

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

Preview Lab → · Contrast checker → · Palette generator →

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