#4B2D88#4B2D88

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

Color values

HEX#4B2D88
RGBrgb(75, 45, 136)
HSLhsl(260, 50%, 35%)
HSVhsv(260, 67%, 53%)
CMYKcmyk(44.9%, 66.9%, 0%, 46.7%)
CIE-LABlab(27.16, 35.65, -46.14)
CIE-LCHlch(27.16, 58.31, 307.69°)
OKLaboklab(38.75% 0.058 -0.1318)
OKLCHoklch(38.75% 0.144 293.7)
XYZxyz(8.2828, 5.1500, 23.8454)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D88 #6A882D
analogous
#2D3D88 #4B2D88 #782D88
triadic
#4B2D88 #884B2D #2D884B
tetradic
#4B2D88 #882D3D #6A882D #2D8878
square
#4B2D88 #882D3D #6A882D #2D8878
split-complementary
#4B2D88 #88782D #3D882D
monochromatic
#180F2C #321E5A #4B2D88 #643CB6 #8664CC

Accessibility & contrast

On white

10.34
#4B2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4B2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D88
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D88#FFFFFF#000000##FFFFFF
##4B2D881.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#3A4256
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2d88;
/* rgb */ color: rgb(75, 45, 136);
/* oklch */ color: oklch(38.7% 0.144 293.7);
Tailwind
colors: {
  custom: {
    50: '#8368ab',
    500: '#4b2d88',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d88;
$custom-light: #8368ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d88",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 259.78,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.14404,
    "h": 293.7
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#4B2D88
secondary
#97B25F
accent
#DA4EAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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