#4D1BA0#4D1BA0

#4D1BA0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.192 H 291.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4D1BA0
RGBrgb(77, 27, 160)
HSLhsl(263, 71%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(51.9%, 83.1%, 0%, 37.3%)
CIE-LABlab(26.45, 51.47, -62.08)
CIE-LCHlch(26.45, 80.64, 309.66°)
OKLaboklab(38.96% 0.071 -0.1784)
OKLCHoklch(38.96% 0.192 291.7)
XYZxyz(9.7959, 4.8993, 33.6804)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1BA0 #6EA01B
analogous
#1B2CA0 #4D1BA0 #901BA0
triadic
#4D1BA0 #A04D1B #1BA04D
tetradic
#4D1BA0 #A01B2C #6EA01B #1BA090
square
#4D1BA0 #A01B2C #6EA01B #1BA090
split-complementary
#4D1BA0 #A0901B #2CA01B
monochromatic
#1B0937 #34126C #4D1BA0 #6624D4 #8953E2

Accessibility & contrast

On white

10.61
#4D1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4D1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1BA0
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1BA0#FFFFFF#000000##FFFFFF
##4D1BA01.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#30435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d1ba0;
/* rgb */ color: rgb(77, 27, 160);
/* oklch */ color: oklch(39.0% 0.192 291.7);
Tailwind
colors: {
  custom: {
    50: '#885fbd',
    500: '#4d1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4d1ba0;
$custom-light: #885fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1ba0",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 262.556,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.19201,
    "h": 291.7
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#4D1BA0
secondary
#9AC552
accent
#EE3AAA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4D1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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