#4B1686#4B1686

#4B1686 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.169 H 298.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#4B1686
RGBrgb(75, 22, 134)
HSLhsl(268, 72%, 31%)
HSVhsv(268, 84%, 53%)
CMYKcmyk(44%, 83.6%, 0%, 47.5%)
CIE-LABlab(22.97, 46.41, -51.73)
CIE-LCHlch(22.97, 69.49, 311.89°)
OKLaboklab(35.73% 0.0804 -0.1481)
OKLCHoklch(35.73% 0.169 298.5)
XYZxyz(7.4905, 3.7908, 22.8867)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1686 #518616
analogous
#161986 #4B1686 #831686
triadic
#4B1686 #864B16 #16864B
tetradic
#4B1686 #861619 #518616 #168683
square
#4B1686 #861619 #518616 #168683
split-complementary
#4B1686 #868316 #198616
monochromatic
#10051D #2E0D51 #4B1686 #681FBB #8738DE

Accessibility & contrast

On white

11.94
#4B1686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4B1686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1686
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1686#FFFFFF#000000##FFFFFF
##4B16861.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#3C364F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1686;
/* rgb */ color: rgb(75, 22, 134);
/* oklch */ color: oklch(35.7% 0.169 298.5);
Tailwind
colors: {
  custom: {
    50: '#845baa',
    500: '#4b1686',
    950: '#000000',
  },
}
SCSS
$custom: #4b1686;
$custom-light: #845baa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1686",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 268.393,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.16855,
    "h": 298.5
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#4B1686
secondary
#7FBA3E
accent
#EF3999
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4B1686

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

Preview Lab → · Contrast checker → · Palette generator →

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