#4B1B9F#4B1B9F

#4B1B9F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.191 H 290.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#4B1B9F
RGBrgb(75, 27, 159)
HSLhsl(262, 71%, 36%)
HSVhsv(262, 83%, 62%)
CMYKcmyk(52.8%, 83%, 0%, 37.6%)
CIE-LABlab(26.11, 50.95, -62.04)
CIE-LCHlch(26.11, 80.28, 309.40°)
OKLaboklab(38.64% 0.0682 -0.1783)
OKLCHoklch(38.64% 0.191 290.9)
XYZxyz(9.5498, 4.7825, 33.2141)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B9F #6F9F1B
analogous
#1B2D9F #4B1B9F #8D1B9F
triadic
#4B1B9F #9F4B1B #1B9F4B
tetradic
#4B1B9F #9F1B2D #6F9F1B #1B9F8D
square
#4B1B9F #9F1B2D #6F9F1B #1B9F8D
split-complementary
#4B1B9F #9F8D1B #2D9F1B
monochromatic
#1A0936 #32126B #4B1B9F #6424D3 #8753E2

Accessibility & contrast

On white

10.73
#4B1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B1B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B9F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B9F#FFFFFF#000000##FFFFFF
##4B1B9F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#2C435F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b1b9f;
/* rgb */ color: rgb(75, 27, 159);
/* oklch */ color: oklch(38.6% 0.191 290.9);
Tailwind
colors: {
  custom: {
    50: '#875fbd',
    500: '#4b1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b9f;
$custom-light: #875fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b9f",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 261.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38643,
    "c": 0.19092,
    "h": 290.9
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#4B1B9F
secondary
#9BC551
accent
#EE3AAC
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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