#4B1E9B#4B1E9B

#4B1E9B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.184 H 291.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#4B1E9B
RGBrgb(75, 30, 155)
HSLhsl(262, 68%, 36%)
HSVhsv(262, 81%, 61%)
CMYKcmyk(51.6%, 80.6%, 0%, 39.2%)
CIE-LABlab(26.13, 48.65, -59.55)
CIE-LCHlch(26.13, 76.90, 309.24°)
OKLaboklab(38.54% 0.0675 -0.1711)
OKLCHoklch(38.54% 0.184 291.5)
XYZxyz(9.2806, 4.7906, 31.4397)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E9B #6E9B1E
analogous
#1E309B #4B1E9B #8A1E9B
triadic
#4B1E9B #9B4B1E #1E9B4B
tetradic
#4B1E9B #9B1E30 #6E9B1E #1E9B8A
square
#4B1E9B #9B1E30 #6E9B1E #1E9B8A
split-complementary
#4B1E9B #9B8A1E #309B1E
monochromatic
#190A34 #321468 #4B1E9B #6428CE #8755DE

Accessibility & contrast

On white

10.72
#4B1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E9B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E9B#FFFFFF#000000##FFFFFF
##4B1E9B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#2F425D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b1e9b;
/* rgb */ color: rgb(75, 30, 155);
/* oklch */ color: oklch(38.5% 0.184 291.5);
Tailwind
colors: {
  custom: {
    50: '#8660ba',
    500: '#4b1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e9b;
$custom-light: #8660ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e9b",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 261.6,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38539,
    "c": 0.18395,
    "h": 291.5
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#4B1E9B
secondary
#9AC253
accent
#EA3DAC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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