#4B1EA1#4B1EA1

#4B1EA1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.191 H 290.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4B1EA1
RGBrgb(75, 30, 161)
HSLhsl(261, 69%, 37%)
HSVhsv(261, 81%, 63%)
CMYKcmyk(53.4%, 81.4%, 0%, 36.9%)
CIE-LABlab(26.73, 50.27, -62.23)
CIE-LCHlch(26.73, 80.00, 308.93°)
OKLaboklab(39.13% 0.0655 -0.1789)
OKLCHoklch(39.13% 0.191 290.1)
XYZxyz(9.7971, 4.9972, 34.1596)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1EA1 #74A11E
analogous
#1E32A1 #4B1EA1 #8D1EA1
triadic
#4B1EA1 #A14B1E #1EA14B
tetradic
#4B1EA1 #A11E32 #74A11E #1EA18D
square
#4B1EA1 #A11E32 #74A11E #1EA18D
split-complementary
#4B1EA1 #A18D1E #32A11E
monochromatic
#1B0B3A #33146D #4B1EA1 #6328D5 #8859E0

Accessibility & contrast

On white

10.50
#4B1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1EA1
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1EA1#FFFFFF#000000##FFFFFF
##4B1EA11.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#2A4560
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b1ea1;
/* rgb */ color: rgb(75, 30, 161);
/* oklch */ color: oklch(39.1% 0.191 290.1);
Tailwind
colors: {
  custom: {
    50: '#8761be',
    500: '#4b1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4b1ea1;
$custom-light: #8761be;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1ea1",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 260.611,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.19056,
    "h": 290.1
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#4B1EA1
secondary
#9EC457
accent
#EB3CAF
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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