#4B2086#4B2086

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

Color values

HEX#4B2086
RGBrgb(75, 32, 134)
HSLhsl(265, 61%, 33%)
HSVhsv(265, 76%, 53%)
CMYKcmyk(44%, 76.1%, 0%, 47.5%)
CIE-LABlab(24.48, 42.05, -49.25)
CIE-LCHlch(24.48, 64.76, 310.49°)
OKLaboklab(36.79% 0.072 -0.1409)
OKLCHoklch(36.79% 0.158 297.1)
XYZxyz(7.7201, 4.2500, 22.9632)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2086 #5B8620
analogous
#202886 #4B2086 #7E2086
triadic
#4B2086 #864B20 #20864B
tetradic
#4B2086 #862028 #5B8620 #20867E
square
#4B2086 #862028 #5B8620 #20867E
split-complementary
#4B2086 #867E20 #288620
monochromatic
#140823 #2F1455 #4B2086 #672CB7 #864CD4

Accessibility & contrast

On white

11.35
#4B2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4B2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2086
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2086#FFFFFF#000000##FFFFFF
##4B20861.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2086;
/* rgb */ color: rgb(75, 32, 134);
/* oklch */ color: oklch(36.8% 0.158 297.1);
Tailwind
colors: {
  custom: {
    50: '#8360aa',
    500: '#4b2086',
    950: '#000000',
  },
}
SCSS
$custom: #4b2086;
$custom-light: #8360aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2086",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 265.294,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36785,
    "c": 0.15825,
    "h": 297.1
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#4B2086
secondary
#89B74B
accent
#E543A1
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2086

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

Preview Lab → · Contrast checker → · Palette generator →

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