#4B1EB4#4B1EB4

#4B1EB4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.1% C 0.211 H 286.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4B1EB4
RGBrgb(75, 30, 180)
HSLhsl(258, 71%, 41%)
HSVhsv(258, 83%, 71%)
CMYKcmyk(58.3%, 83.3%, 0%, 29.4%)
CIE-LABlab(28.69, 55.39, -70.43)
CIE-LCHlch(28.69, 89.60, 308.18°)
OKLaboklab(41.07% 0.0589 -0.2029)
OKLCHoklch(41.07% 0.211 286.2)
XYZxyz(11.6017, 5.7190, 43.6637)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1EB4 #87B41E
analogous
#1E3CB4 #4B1EB4 #961EB4
triadic
#4B1EB4 #B44B1E #1EB44B
tetradic
#4B1EB4 #B41E3C #87B41E #1EB496
square
#4B1EB4 #B41E3C #87B41E #1EB496
split-complementary
#4B1EB4 #B4961E #3CB41E
monochromatic
#1F0D4B #351580 #4B1EB4 #6532DD #8D67E6

Accessibility & contrast

On white

9.79
#4B1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4B1EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1EB4
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1EB4#FFFFFF#000000##FFFFFF
##4B1EB41.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#114D6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b1eb4;
/* rgb */ color: rgb(75, 30, 180);
/* oklch */ color: oklch(41.1% 0.211 286.2);
Tailwind
colors: {
  custom: {
    50: '#8a62cc',
    500: '#4b1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4b1eb4;
$custom-light: #8a62cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1eb4",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 258,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.21124,
    "h": 286.2
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#4B1EB4
secondary
#ACCB63
accent
#EE3AB8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4B1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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