#4B2185#4B2185

#4B2185 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.156 H 297.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4B2185
RGBrgb(75, 33, 133)
HSLhsl(265, 60%, 33%)
HSVhsv(265, 75%, 52%)
CMYKcmyk(43.6%, 75.2%, 0%, 47.8%)
CIE-LABlab(24.57, 41.29, -48.49)
CIE-LCHlch(24.57, 63.68, 310.41°)
OKLaboklab(36.82% 0.0713 -0.1387)
OKLCHoklch(36.82% 0.156 297.2)
XYZxyz(7.6780, 4.2769, 22.6067)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2185 #5B8521
analogous
#212985 #4B2185 #7D2185
triadic
#4B2185 #854B21 #21854B
tetradic
#4B2185 #852129 #5B8521 #21857D
square
#4B2185 #852129 #5B8521 #21857D
split-complementary
#4B2185 #857D21 #298521
monochromatic
#140923 #2F1554 #4B2185 #672DB6 #864DD3

Accessibility & contrast

On white

11.32
#4B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4B2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2185
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2185#FFFFFF#000000##FFFFFF
##4B21851.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#3C3B51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2185;
/* rgb */ color: rgb(75, 33, 133);
/* oklch */ color: oklch(36.8% 0.156 297.2);
Tailwind
colors: {
  custom: {
    50: '#8361a9',
    500: '#4b2185',
    950: '#000000',
  },
}
SCSS
$custom: #4b2185;
$custom-light: #8361a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2185",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 265.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36818,
    "c": 0.15592,
    "h": 297.2
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#4B2185
secondary
#89B64C
accent
#E344A1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2185

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

Preview Lab → · Contrast checker → · Palette generator →

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