#4B2B8B#4B2B8B

#4B2B8B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.151 H 293.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4B2B8B
RGBrgb(75, 43, 139)
HSLhsl(260, 53%, 36%)
HSVhsv(260, 69%, 55%)
CMYKcmyk(46%, 69.1%, 0%, 45.5%)
CIE-LABlab(26.98, 37.66, -48.29)
CIE-LCHlch(26.98, 61.24, 307.95°)
OKLaboklab(38.7% 0.0598 -0.1382)
OKLCHoklch(38.7% 0.151 293.4)
XYZxyz(8.4245, 5.0874, 24.9592)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B8B #6B8B2B
analogous
#2B3B8B #4B2B8B #7B2B8B
triadic
#4B2B8B #8B4B2B #2B8B4B
tetradic
#4B2B8B #8B2B3B #6B8B2B #2B8B7B
square
#4B2B8B #8B2B3B #6B8B2B #2B8B7B
split-complementary
#4B2B8B #8B7B2B #3B8B2B
monochromatic
#190E2E #321D5C #4B2B8B #6439BA #8662CE

Accessibility & contrast

On white

10.41
#4B2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4B2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B8B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B8B#FFFFFF#000000##FFFFFF
##4B2B8B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#394257
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2b8b;
/* rgb */ color: rgb(75, 43, 139);
/* oklch */ color: oklch(38.7% 0.151 293.4);
Tailwind
colors: {
  custom: {
    50: '#8367ae',
    500: '#4b2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b8b;
$custom-light: #8367ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b8b",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 260,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38697,
    "c": 0.15055,
    "h": 293.4
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#4B2B8B
secondary
#97B55D
accent
#DC4CAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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