#4B2076#4B2076

#4B2076 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.140 H 302.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#4B2076
RGBrgb(75, 32, 118)
HSLhsl(270, 57%, 29%)
HSVhsv(270, 73%, 46%)
CMYKcmyk(36.4%, 72.9%, 0%, 53.7%)
CIE-LABlab(23.12, 37.77, -41.33)
CIE-LCHlch(23.12, 55.99, 312.42°)
OKLaboklab(35.4% 0.0754 -0.1177)
OKLCHoklch(35.4% 0.14 302.6)
XYZxyz(6.6874, 3.8369, 17.5243)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2076 #4B7620
analogous
#202076 #4B2076 #762076
triadic
#4B2076 #764B20 #20764B
tetradic
#4B2076 #762020 #4B7620 #207676
square
#4B2076 #762020 #4B7620 #207676
split-complementary
#4B2076 #767620 #207620
monochromatic
#0F0718 #2C1346 #4B2076 #6A2DA6 #8844CC

Accessibility & contrast

On white

11.88
#4B2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2076
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2076#FFFFFF#000000##FFFFFF
##4B20761.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#423448
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b2076;
/* rgb */ color: rgb(75, 32, 118);
/* oklch */ color: oklch(35.4% 0.140 302.6);
Tailwind
colors: {
  custom: {
    50: '#815f9e',
    500: '#4b2076',
    950: '#000000',
  },
}
SCSS
$custom: #4b2076;
$custom-light: #815f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2076",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 270,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.13973,
    "h": 302.6
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#4B2076
secondary
#79A948
accent
#E14794
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2076

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

Preview Lab → · Contrast checker → · Palette generator →

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