#4B2B87#4B2B87

#4B2B87 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.146 H 294.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4B2B87
RGBrgb(75, 43, 135)
HSLhsl(261, 52%, 35%)
HSVhsv(261, 68%, 53%)
CMYKcmyk(44.4%, 68.1%, 0%, 47.1%)
CIE-LABlab(26.66, 36.51, -46.33)
CIE-LCHlch(26.66, 58.99, 308.23°)
OKLaboklab(38.36% 0.0604 -0.1324)
OKLCHoklch(38.36% 0.146 294.5)
XYZxyz(8.1375, 4.9727, 23.4480)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B87 #67872B
analogous
#2B3987 #4B2B87 #792B87
triadic
#4B2B87 #874B2B #2B874B
tetradic
#4B2B87 #872B39 #67872B #2B8779
square
#4B2B87 #872B39 #67872B #2B8779
split-complementary
#4B2B87 #87792B #39872B
monochromatic
#170D2A #311C59 #4B2B87 #653AB5 #8660CC

Accessibility & contrast

On white

10.53
#4B2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4B2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B87
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B87#FFFFFF#000000##FFFFFF
##4B2B871.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2b87;
/* rgb */ color: rgb(75, 43, 135);
/* oklch */ color: oklch(38.4% 0.146 294.5);
Tailwind
colors: {
  custom: {
    50: '#8366ab',
    500: '#4b2b87',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b87;
$custom-light: #8366ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b87",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 260.87,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38361,
    "c": 0.14552,
    "h": 294.5
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#4B2B87
secondary
#94B25B
accent
#DB4DAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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