#4B2D83#4B2D83

#4B2D83 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.138 H 295.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4B2D83
RGBrgb(75, 45, 131)
HSLhsl(261, 49%, 35%)
HSVhsv(261, 66%, 51%)
CMYKcmyk(42.7%, 65.6%, 0%, 48.6%)
CIE-LABlab(26.77, 34.20, -43.66)
CIE-LCHlch(26.77, 55.45, 308.07°)
OKLaboklab(38.34% 0.0585 -0.1245)
OKLCHoklch(38.34% 0.138 295.2)
XYZxyz(7.9357, 5.0111, 22.0175)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D83 #65832D
analogous
#2D3A83 #4B2D83 #762D83
triadic
#4B2D83 #834B2D #2D834B
tetradic
#4B2D83 #832D3A #65832D #2D8376
square
#4B2D83 #832D3A #65832D #2D8376
split-complementary
#4B2D83 #83762D #3A832D
monochromatic
#170E28 #311D55 #4B2D83 #653DB1 #8662C9

Accessibility & contrast

On white

10.49
#4B2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D83
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D83#FFFFFF#000000##FFFFFF
##4B2D831.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#3C4153
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2d83;
/* rgb */ color: rgb(75, 45, 131);
/* oklch */ color: oklch(38.3% 0.138 295.2);
Tailwind
colors: {
  custom: {
    50: '#8268a8',
    500: '#4b2d83',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d83;
$custom-light: #8268a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d83",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 260.93,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.13759,
    "h": 295.2
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#4B2D83
secondary
#92AF5C
accent
#D84FA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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