#4B1E7B#4B1E7B

#4B1E7B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.148 H 301.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4B1E7B
RGBrgb(75, 30, 123)
HSLhsl(269, 61%, 30%)
HSVhsv(269, 76%, 48%)
CMYKcmyk(39%, 75.6%, 0%, 51.8%)
CIE-LABlab(23.18, 40.09, -44.43)
CIE-LCHlch(23.18, 59.84, 312.06°)
OKLaboklab(35.57% 0.0765 -0.1267)
OKLCHoklch(35.57% 0.148 301.1)
XYZxyz(6.9402, 3.8544, 19.1134)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E7B #4E7B1E
analogous
#1E207B #4B1E7B #791E7B
triadic
#4B1E7B #7B4B1E #1E7B4B
tetradic
#4B1E7B #7B1E20 #4E7B1E #1E7B79
square
#4B1E7B #7B1E20 #4E7B1E #1E7B79
split-complementary
#4B1E7B #7B791E #207B1E
monochromatic
#0F0619 #2D124A #4B1E7B #692AAC #8742D1

Accessibility & contrast

On white

11.86
#4B1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E7B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E7B#FFFFFF#000000##FFFFFF
##4B1E7B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#40354B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1e7b;
/* rgb */ color: rgb(75, 30, 123);
/* oklch */ color: oklch(35.6% 0.148 301.1);
Tailwind
colors: {
  custom: {
    50: '#825ea2',
    500: '#4b1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e7b;
$custom-light: #825ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e7b",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 269.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.35573,
    "c": 0.14805,
    "h": 301.1
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#4B1E7B
secondary
#7CAE46
accent
#E44496
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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