#4D1BB4#4D1BB4

#4D1BB4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.0% C 0.213 H 287.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4D1BB4
RGBrgb(77, 27, 180)
HSLhsl(260, 74%, 41%)
HSVhsv(260, 85%, 71%)
CMYKcmyk(57.2%, 85%, 0%, 29.4%)
CIE-LABlab(28.53, 56.71, -70.69)
CIE-LCHlch(28.53, 90.63, 308.74°)
OKLaboklab(41.01% 0.0636 -0.2036)
OKLCHoklch(41.01% 0.213 287.3)
XYZxyz(11.6883, 5.6563, 43.6470)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1BB4 #82B41B
analogous
#1B35B4 #4D1BB4 #991BB4
triadic
#4D1BB4 #B44D1B #1BB44D
tetradic
#4D1BB4 #B41B35 #82B41B #1BB499
square
#4D1BB4 #B41B35 #82B41B #1BB499
split-complementary
#4D1BB4 #B4991B #35B41B
monochromatic
#1F0B4A #36137F #4D1BB4 #672DDF #8E62E7

Accessibility & contrast

On white

9.85
#4D1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4D1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1BB4
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1BB4#FFFFFF#000000##FFFFFF
##4D1BB41.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#1B4C6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d1bb4;
/* rgb */ color: rgb(77, 27, 180);
/* oklch */ color: oklch(41.0% 0.213 287.3);
Tailwind
colors: {
  custom: {
    50: '#8c61cc',
    500: '#4d1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #4d1bb4;
$custom-light: #8c61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1bb4",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 259.608,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41012,
    "c": 0.21325,
    "h": 287.3
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#4D1BB4
secondary
#A8CC5F
accent
#F137B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4D1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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