#4B2576#4B2576

#4B2576 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.133 H 301.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#4B2576
RGBrgb(75, 37, 118)
HSLhsl(268, 52%, 30%)
HSVhsv(268, 69%, 46%)
CMYKcmyk(36.4%, 68.6%, 0%, 53.7%)
CIE-LABlab(24.09, 35.11, -39.77)
CIE-LCHlch(24.09, 53.05, 311.44°)
OKLaboklab(36.09% 0.0695 -0.1131)
OKLCHoklch(36.09% 0.133 301.6)
XYZxyz(6.8325, 4.1270, 17.5727)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2576 #507625
analogous
#252876 #4B2576 #732576
triadic
#4B2576 #764B25 #25764B
tetradic
#4B2576 #762528 #507625 #257673
square
#4B2576 #762528 #507625 #257673
split-complementary
#4B2576 #767325 #287625
monochromatic
#100819 #2D1647 #4B2576 #6934A5 #874EC7

Accessibility & contrast

On white

11.50
#4B2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2576
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2576#FFFFFF#000000##FFFFFF
##4B25761.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#42374A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b2576;
/* rgb */ color: rgb(75, 37, 118);
/* oklch */ color: oklch(36.1% 0.133 301.6);
Tailwind
colors: {
  custom: {
    50: '#81629e',
    500: '#4b2576',
    950: '#000000',
  },
}
SCSS
$custom: #4b2576;
$custom-light: #81629e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2576",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 268.148,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.13276,
    "h": 301.6
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#4B2576
secondary
#7EA94E
accent
#DC4C98
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2576

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

Preview Lab → · Contrast checker → · Palette generator →

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