#4B1689#4B1689

#4B1689 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.172 H 297.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#4B1689
RGBrgb(75, 22, 137)
HSLhsl(268, 72%, 31%)
HSVhsv(268, 84%, 54%)
CMYKcmyk(45.3%, 83.9%, 0%, 46.3%)
CIE-LABlab(23.26, 47.17, -53.14)
CIE-LCHlch(23.26, 71.05, 311.59°)
OKLaboklab(36.02% 0.0794 -0.1522)
OKLCHoklch(36.02% 0.172 297.5)
XYZxyz(7.7027, 3.8757, 24.0043)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1689 #548916
analogous
#161A89 #4B1689 #841689
triadic
#4B1689 #894B16 #16894B
tetradic
#4B1689 #89161A #548916 #168984
square
#4B1689 #89161A #548916 #168984
split-complementary
#4B1689 #898416 #1A8916
monochromatic
#110520 #2E0E54 #4B1689 #681EBE #863ADF

Accessibility & contrast

On white

11.83
#4B1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1689
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1689#FFFFFF#000000##FFFFFF
##4B16891.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#3A3851
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1689;
/* rgb */ color: rgb(75, 22, 137);
/* oklch */ color: oklch(36.0% 0.172 297.5);
Tailwind
colors: {
  custom: {
    50: '#845bac',
    500: '#4b1689',
    950: '#000000',
  },
}
SCSS
$custom: #4b1689;
$custom-light: #845bac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1689",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 267.652,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36015,
    "c": 0.1717,
    "h": 297.5
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#4B1689
secondary
#82BD3E
accent
#EF399B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4B1689

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

Preview Lab → · Contrast checker → · Palette generator →

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