#4B31BD#4B31BD

#4B31BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.1% C 0.205 H 282.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4B31BD
RGBrgb(75, 49, 189)
HSLhsl(251, 59%, 47%)
HSVhsv(251, 74%, 74%)
CMYKcmyk(60.3%, 74.1%, 0%, 25.9%)
CIE-LABlab(32.63, 49.22, -69.28)
CIE-LCHlch(32.63, 84.99, 305.39°)
OKLaboklab(44.09% 0.0444 -0.1997)
OKLCHoklch(44.09% 0.205 282.5)
XYZxyz(13.1824, 7.3657, 48.8613)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B31BD #A3BD31
analogous
#315DBD #4B31BD #9131BD
triadic
#4B31BD #BD4B31 #31BD4B
tetradic
#4B31BD #BD315D #A3BD31 #31BD91
square
#4B31BD #BD315D #A3BD31 #31BD91
split-complementary
#4B31BD #BD9131 #5DBD31
monochromatic
#24185C #38248C #4B31BD #6F58D4 #9988E0

Accessibility & contrast

On white

8.49
#4B31BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4B31BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B31BD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B31BD#FFFFFF#000000##FFFFFF
##4B31BD1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b31bd;
/* rgb */ color: rgb(75, 49, 189);
/* oklch */ color: oklch(44.1% 0.205 282.5);
Tailwind
colors: {
  custom: {
    50: '#8b6cd2',
    500: '#4b31bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b31bd;
$custom-light: #8b6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b31bd",
  "rgb": {
    "r": 75,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 251.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.20461,
    "h": 282.5
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#4B31BD
secondary
#BCCA80
accent
#E246C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B31BD

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

Preview Lab → · Contrast checker → · Palette generator →

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