#4B2986#4B2986

#4B2986 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.147 H 295.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4B2986
RGBrgb(75, 41, 134)
HSLhsl(262, 53%, 34%)
HSVhsv(262, 69%, 53%)
CMYKcmyk(44%, 69.4%, 0%, 47.5%)
CIE-LABlab(26.17, 37.34, -46.51)
CIE-LCHlch(26.17, 59.64, 308.76°)
OKLaboklab(37.98% 0.0627 -0.1329)
OKLCHoklch(37.98% 0.147 295.3)
XYZxyz(7.9965, 4.8028, 23.0553)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2986 #648629
analogous
#293686 #4B2986 #7A2986
triadic
#4B2986 #864B29 #29864B
tetradic
#4B2986 #862936 #648629 #29867A
square
#4B2986 #862936 #648629 #29867A
split-complementary
#4B2986 #867A29 #368629
monochromatic
#170C28 #311B57 #4B2986 #6537B5 #865CCD

Accessibility & contrast

On white

10.71
#4B2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2986
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2986#FFFFFF#000000##FFFFFF
##4B29861.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#3B3F54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2986;
/* rgb */ color: rgb(75, 41, 134);
/* oklch */ color: oklch(38.0% 0.147 295.3);
Tailwind
colors: {
  custom: {
    50: '#8365aa',
    500: '#4b2986',
    950: '#000000',
  },
}
SCSS
$custom: #4b2986;
$custom-light: #8365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2986",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 261.935,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.14697,
    "h": 295.3
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#4B2986
secondary
#92B358
accent
#DD4BA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2986

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

Preview Lab → · Contrast checker → · Palette generator →

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