#4B1FB4#4B1FB4

#4B1FB4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.2% C 0.210 H 286.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4B1FB4
RGBrgb(75, 31, 180)
HSLhsl(258, 71%, 41%)
HSVhsv(258, 83%, 71%)
CMYKcmyk(58.3%, 82.8%, 0%, 29.4%)
CIE-LABlab(28.83, 55.00, -70.21)
CIE-LCHlch(28.83, 89.18, 308.07°)
OKLaboklab(41.17% 0.0583 -0.2023)
OKLCHoklch(41.17% 0.21 286.1)
XYZxyz(11.6274, 5.7704, 43.6723)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1FB4 #88B41F
analogous
#1F3EB4 #4B1FB4 #961FB4
triadic
#4B1FB4 #B44B1F #1FB44B
tetradic
#4B1FB4 #B41F3E #88B41F #1FB496
square
#4B1FB4 #B41F3E #88B41F #1FB496
split-complementary
#4B1FB4 #B4961F #3EB41F
monochromatic
#1F0D4C #351680 #4B1FB4 #6634DC #8D68E5

Accessibility & contrast

On white

9.75
#4B1FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4B1FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1FB4
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1FB4#FFFFFF#000000##FFFFFF
##4B1FB41.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#114D6C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b1fb4;
/* rgb */ color: rgb(75, 31, 180);
/* oklch */ color: oklch(41.2% 0.210 286.1);
Tailwind
colors: {
  custom: {
    50: '#8a62cc',
    500: '#4b1fb4',
    950: '#000000',
  },
}
SCSS
$custom: #4b1fb4;
$custom-light: #8a62cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1fb4",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 257.718,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.21049,
    "h": 286.1
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#4B1FB4
secondary
#ACCB64
accent
#ED3AB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B1FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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