#4B1FA8#4B1FA8

#4B1FA8 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.197 H 288.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4B1FA8
RGBrgb(75, 31, 168)
HSLhsl(259, 69%, 39%)
HSVhsv(259, 82%, 66%)
CMYKcmyk(55.4%, 81.5%, 0%, 34.1%)
CIE-LABlab(27.58, 51.74, -65.07)
CIE-LCHlch(27.58, 83.13, 308.49°)
OKLaboklab(39.94% 0.0625 -0.1872)
OKLCHoklch(39.94% 0.197 288.5)
XYZxyz(10.4574, 5.3025, 37.5106)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1FA8 #7CA81F
analogous
#1F38A8 #4B1FA8 #901FA8
triadic
#4B1FA8 #A84B1F #1FA84B
tetradic
#4B1FA8 #A81F38 #7CA81F #1FA890
square
#4B1FA8 #A81F38 #7CA81F #1FA890
split-complementary
#4B1FA8 #A8901F #38A81F
monochromatic
#1D0C41 #341574 #4B1FA8 #632CD8 #8960E2

Accessibility & contrast

On white

10.19
#4B1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B1FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1FA8
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1FA8#FFFFFF#000000##FFFFFF
##4B1FA81.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#244865
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b1fa8;
/* rgb */ color: rgb(75, 31, 168);
/* oklch */ color: oklch(39.9% 0.197 288.5);
Tailwind
colors: {
  custom: {
    50: '#8861c3',
    500: '#4b1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #4b1fa8;
$custom-light: #8861c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1fa8",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 259.27,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.19739,
    "h": 288.5
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#4B1FA8
secondary
#A4C65D
accent
#EC3CB3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4B1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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