#4B2D76#4B2D76

#4B2D76 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.3% C 0.121 H 299.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4B2D76
RGBrgb(75, 45, 118)
HSLhsl(265, 45%, 32%)
HSVhsv(265, 62%, 46%)
CMYKcmyk(36.4%, 61.9%, 0%, 53.7%)
CIE-LABlab(25.80, 30.48, -37.00)
CIE-LCHlch(25.80, 47.94, 309.47°)
OKLaboklab(37.34% 0.0593 -0.105)
OKLCHoklch(37.34% 0.121 299.5)
XYZxyz(7.1093, 4.6806, 17.6649)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D76 #58762D
analogous
#2D3376 #4B2D76 #702D76
triadic
#4B2D76 #764B2D #2D764B
tetradic
#4B2D76 #762D33 #58762D #2D7670
square
#4B2D76 #762D33 #58762D #2D7670
split-complementary
#4B2D76 #76702D #33762D
monochromatic
#130B1D #2F1C4A #4B2D76 #673EA2 #865CC1

Accessibility & contrast

On white

10.85
#4B2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4B2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D76
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D76#FFFFFF#000000##FFFFFF
##4B2D761.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043D78
Deuteranopia (green-blind)
#143D74
Tritanopia (blue-blind)
#423C4D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2d76;
/* rgb */ color: rgb(75, 45, 118);
/* oklch */ color: oklch(37.3% 0.121 299.5);
Tailwind
colors: {
  custom: {
    50: '#80679e',
    500: '#4b2d76',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d76;
$custom-light: #80679e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d76",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 264.658,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37335,
    "c": 0.12056,
    "h": 299.5
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#4B2D76
secondary
#87A757
accent
#D4539F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4B2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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