#4B1680#4B1680

#4B1680 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.162 H 300.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#4B1680
RGBrgb(75, 22, 128)
HSLhsl(270, 71%, 29%)
HSVhsv(270, 83%, 50%)
CMYKcmyk(41.4%, 82.8%, 0%, 49.8%)
CIE-LABlab(22.40, 44.89, -48.87)
CIE-LCHlch(22.40, 66.36, 312.57°)
OKLaboklab(35.16% 0.0824 -0.1397)
OKLCHoklch(35.16% 0.162 300.5)
XYZxyz(7.0839, 3.6281, 20.7450)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1680 #4B8016
analogous
#161680 #4B1680 #801680
triadic
#4B1680 #804B16 #16804B
tetradic
#4B1680 #801616 #4B8016 #168080
square
#4B1680 #801616 #4B8016 #168080
split-complementary
#4B1680 #808016 #168016
monochromatic
#0F041A #2C0D4C #4B1680 #6A1FB4 #8834DC

Accessibility & contrast

On white

12.17
#4B1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4B1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1680
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1680#FFFFFF#000000##FFFFFF
##4B16801.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#3F344C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1680;
/* rgb */ color: rgb(75, 22, 128);
/* oklch */ color: oklch(35.2% 0.162 300.5);
Tailwind
colors: {
  custom: {
    50: '#835ba6',
    500: '#4b1680',
    950: '#000000',
  },
}
SCSS
$custom: #4b1680;
$custom-light: #835ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1680",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 270,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35162,
    "c": 0.16225,
    "h": 300.5
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#4B1680
secondary
#79B53D
accent
#ED3A94
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1680

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

Preview Lab → · Contrast checker → · Palette generator →

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