#4B2276#4B2276

#4B2276 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.137 H 302.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#4B2276
RGBrgb(75, 34, 118)
HSLhsl(269, 55%, 30%)
HSVhsv(269, 71%, 46%)
CMYKcmyk(36.4%, 71.2%, 0%, 53.7%)
CIE-LABlab(23.50, 36.73, -40.73)
CIE-LCHlch(23.50, 54.85, 312.05°)
OKLaboklab(35.67% 0.0731 -0.1159)
OKLCHoklch(35.67% 0.137 302.2)
XYZxyz(6.7429, 3.9479, 17.5428)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2276 #4D7622
analogous
#222376 #4B2276 #752276
triadic
#4B2276 #764B22 #22764B
tetradic
#4B2276 #762223 #4D7622 #227675
square
#4B2276 #762223 #4D7622 #227675
split-complementary
#4B2276 #767522 #237622
monochromatic
#0F0718 #2D1446 #4B2276 #6930A6 #8848CA

Accessibility & contrast

On white

11.73
#4B2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4B2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2276
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2276#FFFFFF#000000##FFFFFF
##4B22761.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#423549
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b2276;
/* rgb */ color: rgb(75, 34, 118);
/* oklch */ color: oklch(35.7% 0.137 302.2);
Tailwind
colors: {
  custom: {
    50: '#81609e',
    500: '#4b2276',
    950: '#000000',
  },
}
SCSS
$custom: #4b2276;
$custom-light: #81609e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2276",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 269.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.13701,
    "h": 302.2
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#4B2276
secondary
#7BA94B
accent
#DF4996
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2276

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

Preview Lab → · Contrast checker → · Palette generator →

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