#4B1E89#4B1E89

#4B1E89 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.164 H 296.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4B1E89
RGBrgb(75, 30, 137)
HSLhsl(265, 64%, 33%)
HSVhsv(265, 78%, 54%)
CMYKcmyk(45.3%, 78.1%, 0%, 46.3%)
CIE-LABlab(24.42, 43.80, -51.23)
CIE-LCHlch(24.42, 67.40, 310.53°)
OKLaboklab(36.82% 0.073 -0.1467)
OKLCHoklch(36.82% 0.164 296.5)
XYZxyz(7.8801, 4.2304, 24.0634)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E89 #5C891E
analogous
#1E2689 #4B1E89 #811E89
triadic
#4B1E89 #894B1E #1E894B
tetradic
#4B1E89 #891E26 #5C891E #1E8981
square
#4B1E89 #891E26 #5C891E #1E8981
split-complementary
#4B1E89 #89811E #26891E
monochromatic
#140825 #301357 #4B1E89 #6629BB #854AD7

Accessibility & contrast

On white

11.37
#4B1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1E89
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E89#FFFFFF#000000##FFFFFF
##4B1E891.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#3A3B52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1e89;
/* rgb */ color: rgb(75, 30, 137);
/* oklch */ color: oklch(36.8% 0.164 296.5);
Tailwind
colors: {
  custom: {
    50: '#845fac',
    500: '#4b1e89',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e89;
$custom-light: #845fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e89",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 265.234,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36824,
    "c": 0.16389,
    "h": 296.5
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#4B1E89
secondary
#8ABA49
accent
#E741A1
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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