#4B1E9D#4B1E9D

#4B1E9D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.186 H 291.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4B1E9D
RGBrgb(75, 30, 157)
HSLhsl(261, 68%, 37%)
HSVhsv(261, 81%, 62%)
CMYKcmyk(52.2%, 80.9%, 0%, 38.4%)
CIE-LABlab(26.33, 49.19, -60.45)
CIE-LCHlch(26.33, 77.94, 309.13°)
OKLaboklab(38.74% 0.0669 -0.1737)
OKLCHoklch(38.74% 0.186 291)
XYZxyz(9.4500, 4.8583, 32.3316)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E9D #709D1E
analogous
#1E319D #4B1E9D #8B1E9D
triadic
#4B1E9D #9D4B1E #1E9D4B
tetradic
#4B1E9D #9D1E31 #709D1E #1E9D8B
square
#4B1E9D #9D1E31 #709D1E #1E9D8B
split-complementary
#4B1E9D #9D8B1E #319D1E
monochromatic
#1A0A36 #32146A #4B1E9D #6428D0 #8757DF

Accessibility & contrast

On white

10.65
#4B1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E9D
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E9D#FFFFFF#000000##FFFFFF
##4B1E9D1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#2E435E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b1e9d;
/* rgb */ color: rgb(75, 30, 157);
/* oklch */ color: oklch(38.7% 0.186 291.0);
Tailwind
colors: {
  custom: {
    50: '#8760bb',
    500: '#4b1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e9d;
$custom-light: #8760bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e9d",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 261.26,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.18616,
    "h": 291
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#4B1E9D
secondary
#9BC254
accent
#EB3DAD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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