#4B2183#4B2183

#4B2183 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.154 H 297.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4B2183
RGBrgb(75, 33, 131)
HSLhsl(266, 60%, 32%)
HSVhsv(266, 75%, 51%)
CMYKcmyk(42.7%, 74.8%, 0%, 48.6%)
CIE-LABlab(24.39, 40.75, -47.51)
CIE-LCHlch(24.39, 62.59, 310.61°)
OKLaboklab(36.64% 0.0717 -0.1358)
OKLCHoklch(36.64% 0.154 297.8)
XYZxyz(7.5412, 4.2221, 21.8860)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2183 #598321
analogous
#212883 #4B2183 #7C2183
triadic
#4B2183 #834B21 #21834B
tetradic
#4B2183 #832128 #598321 #21837C
square
#4B2183 #832128 #598321 #21837C
split-complementary
#4B2183 #837C21 #288321
monochromatic
#130821 #2F1552 #4B2183 #672DB4 #864CD2

Accessibility & contrast

On white

11.39
#4B2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2183
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2183#FFFFFF#000000##FFFFFF
##4B21831.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#3D3A50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2183;
/* rgb */ color: rgb(75, 33, 131);
/* oklch */ color: oklch(36.6% 0.154 297.8);
Tailwind
colors: {
  custom: {
    50: '#8360a8',
    500: '#4b2183',
    950: '#000000',
  },
}
SCSS
$custom: #4b2183;
$custom-light: #8360a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2183",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 265.714,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36641,
    "c": 0.15361,
    "h": 297.8
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#4B2183
secondary
#87B54B
accent
#E3459F
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2183

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

Preview Lab → · Contrast checker → · Palette generator →

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