#4B1E83#4B1E83

#4B1E83 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.157 H 298.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#4B1E83
RGBrgb(75, 30, 131)
HSLhsl(267, 63%, 32%)
HSVhsv(267, 77%, 51%)
CMYKcmyk(42.7%, 77.1%, 0%, 48.6%)
CIE-LABlab(23.88, 42.20, -48.35)
CIE-LCHlch(23.88, 64.18, 311.11°)
OKLaboklab(36.28% 0.0746 -0.1383)
OKLCHoklch(36.28% 0.157 298.4)
XYZxyz(7.4616, 4.0630, 21.8594)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E83 #56831E
analogous
#1E2383 #4B1E83 #7E1E83
triadic
#4B1E83 #834B1E #1E834B
tetradic
#4B1E83 #831E23 #56831E #1E837E
square
#4B1E83 #831E23 #56831E #1E837E
split-complementary
#4B1E83 #837E1E #23831E
monochromatic
#12071F #2E1351 #4B1E83 #6829B5 #8647D5

Accessibility & contrast

On white

11.59
#4B1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4B1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E83
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E83#FFFFFF#000000##FFFFFF
##4B1E831.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#3D384F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1e83;
/* rgb */ color: rgb(75, 30, 131);
/* oklch */ color: oklch(36.3% 0.157 298.4);
Tailwind
colors: {
  custom: {
    50: '#835fa8',
    500: '#4b1e83',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e83;
$custom-light: #835fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e83",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 266.733,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36278,
    "c": 0.15712,
    "h": 298.4
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#4B1E83
secondary
#84B647
accent
#E6429D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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