#4B2C87#4B2C87

#4B2C87 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.144 H 294.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4B2C87
RGBrgb(75, 44, 135)
HSLhsl(260, 51%, 35%)
HSVhsv(260, 67%, 53%)
CMYKcmyk(44.4%, 67.4%, 0%, 47.1%)
CIE-LABlab(26.87, 35.93, -45.99)
CIE-LCHlch(26.87, 58.37, 308.00°)
OKLaboklab(38.51% 0.0593 -0.1314)
OKLCHoklch(38.51% 0.144 294.3)
XYZxyz(8.1743, 5.0463, 23.4603)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C87 #68872C
analogous
#2C3A87 #4B2C87 #792C87
triadic
#4B2C87 #874B2C #2C874B
tetradic
#4B2C87 #872C3A #68872C #2C8779
square
#4B2C87 #872C3A #68872C #2C8779
split-complementary
#4B2C87 #87792C #3A872C
monochromatic
#180E2B #311D59 #4B2C87 #653BB5 #8662CC

Accessibility & contrast

On white

10.45
#4B2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B2C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C87
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C87#FFFFFF#000000##FFFFFF
##4B2C871.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#3B4255
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2c87;
/* rgb */ color: rgb(75, 44, 135);
/* oklch */ color: oklch(38.5% 0.144 294.3);
Tailwind
colors: {
  custom: {
    50: '#8367ab',
    500: '#4b2c87',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c87;
$custom-light: #8367ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c87",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 260.44,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38512,
    "c": 0.14414,
    "h": 294.3
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#4B2C87
secondary
#95B25D
accent
#DA4DAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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