#4B1B83#4B1B83

#4B1B83 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.160 H 298.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#4B1B83
RGBrgb(75, 27, 131)
HSLhsl(268, 66%, 31%)
HSVhsv(268, 79%, 51%)
CMYKcmyk(42.7%, 79.4%, 0%, 48.6%)
CIE-LABlab(23.40, 43.57, -49.14)
CIE-LCHlch(23.40, 65.67, 311.57°)
OKLaboklab(35.94% 0.0774 -0.1405)
OKLCHoklch(35.94% 0.16 298.8)
XYZxyz(7.3893, 3.9183, 21.8353)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B83 #53831B
analogous
#1B1F83 #4B1B83 #7F1B83
triadic
#4B1B83 #834B1B #1B834B
tetradic
#4B1B83 #831B1F #53831B #1B837F
square
#4B1B83 #831B1F #53831B #1B837F
split-complementary
#4B1B83 #837F1B #1F831B
monochromatic
#11061E #2E1150 #4B1B83 #6825B6 #8641D8

Accessibility & contrast

On white

11.77
#4B1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1B83
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B83#FFFFFF#000000##FFFFFF
##4B1B831.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#3D374E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1b83;
/* rgb */ color: rgb(75, 27, 131);
/* oklch */ color: oklch(35.9% 0.160 298.8);
Tailwind
colors: {
  custom: {
    50: '#835da8',
    500: '#4b1b83',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b83;
$custom-light: #835da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b83",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 267.692,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35942,
    "c": 0.16043,
    "h": 298.8
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#4B1B83
secondary
#81B643
accent
#E93F9A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4B1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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