#4B2C83#4B2C83

#4B2C83 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.139 H 295.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4B2C83
RGBrgb(75, 44, 131)
HSLhsl(261, 50%, 34%)
HSVhsv(261, 66%, 51%)
CMYKcmyk(42.7%, 66.4%, 0%, 48.6%)
CIE-LABlab(26.55, 34.78, -44.00)
CIE-LCHlch(26.55, 56.09, 308.32°)
OKLaboklab(38.19% 0.0597 -0.1255)
OKLCHoklch(38.19% 0.139 295.4)
XYZxyz(7.8980, 4.9357, 22.0049)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C83 #64832C
analogous
#2C3983 #4B2C83 #772C83
triadic
#4B2C83 #834B2C #2C834B
tetradic
#4B2C83 #832C39 #64832C #2C8377
square
#4B2C83 #832C39 #64832C #2C8377
split-complementary
#4B2C83 #83772C #39832C
monochromatic
#170D27 #311D55 #4B2C83 #653BB1 #8660CA

Accessibility & contrast

On white

10.57
#4B2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2C83
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C83#FFFFFF#000000##FFFFFF
##4B2C831.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#3C4053
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2c83;
/* rgb */ color: rgb(75, 44, 131);
/* oklch */ color: oklch(38.2% 0.139 295.4);
Tailwind
colors: {
  custom: {
    50: '#8267a8',
    500: '#4b2c83',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c83;
$custom-light: #8267a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c83",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 261.379,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38185,
    "c": 0.13903,
    "h": 295.4
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#4B2C83
secondary
#92B05B
accent
#D94FA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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