#4B2186#4B2186

#4B2186 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.157 H 296.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4B2186
RGBrgb(75, 33, 134)
HSLhsl(265, 60%, 33%)
HSVhsv(265, 75%, 53%)
CMYKcmyk(44%, 75.4%, 0%, 47.5%)
CIE-LABlab(24.65, 41.56, -48.97)
CIE-LCHlch(24.65, 64.23, 310.32°)
OKLaboklab(36.91% 0.071 -0.1401)
OKLCHoklch(36.91% 0.157 296.9)
XYZxyz(7.7475, 4.3046, 22.9723)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2186 #5C8621
analogous
#212A86 #4B2186 #7D2186
triadic
#4B2186 #864B21 #21864B
tetradic
#4B2186 #86212A #5C8621 #21867D
square
#4B2186 #86212A #5C8621 #21867D
split-complementary
#4B2186 #867D21 #2A8621
monochromatic
#140924 #301555 #4B2186 #662DB7 #854ED3

Accessibility & contrast

On white

11.28
#4B2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2186
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2186#FFFFFF#000000##FFFFFF
##4B21861.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#3C3B51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b2186;
/* rgb */ color: rgb(75, 33, 134);
/* oklch */ color: oklch(36.9% 0.157 296.9);
Tailwind
colors: {
  custom: {
    50: '#8361aa',
    500: '#4b2186',
    950: '#000000',
  },
}
SCSS
$custom: #4b2186;
$custom-light: #8361aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2186",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 264.95,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.15708,
    "h": 296.9
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#4B2186
secondary
#8AB74C
accent
#E444A1
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2186

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

Preview Lab → · Contrast checker → · Palette generator →

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