#4B1E9E#4B1E9E

#4B1E9E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.187 H 290.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4B1E9E
RGBrgb(75, 30, 158)
HSLhsl(261, 68%, 37%)
HSVhsv(261, 81%, 62%)
CMYKcmyk(52.5%, 81%, 0%, 38%)
CIE-LABlab(26.43, 49.46, -60.90)
CIE-LCHlch(26.43, 78.45, 309.08°)
OKLaboklab(38.83% 0.0665 -0.175)
OKLCHoklch(38.83% 0.187 290.8)
XYZxyz(9.5357, 4.8926, 32.7830)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E9E #719E1E
analogous
#1E319E #4B1E9E #8B1E9E
triadic
#4B1E9E #9E4B1E #1E9E4B
tetradic
#4B1E9E #9E1E31 #719E1E #1E9E8B
square
#4B1E9E #9E1E31 #719E1E #1E9E8B
split-complementary
#4B1E9E #9E8B1E #319E1E
monochromatic
#1A0A37 #33146B #4B1E9E #6328D1 #8757DF

Accessibility & contrast

On white

10.61
#4B1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E9E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E9E#FFFFFF#000000##FFFFFF
##4B1E9E1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#2D445F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b1e9e;
/* rgb */ color: rgb(75, 30, 158);
/* oklch */ color: oklch(38.8% 0.187 290.8);
Tailwind
colors: {
  custom: {
    50: '#8760bc',
    500: '#4b1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e9e;
$custom-light: #8760bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e9e",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 261.094,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.18727,
    "h": 290.8
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#4B1E9E
secondary
#9CC355
accent
#EB3DAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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