#4D1CB4#4D1CB4

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

Color values

HEX#4D1CB4
RGBrgb(77, 28, 180)
HSLhsl(259, 73%, 41%)
HSVhsv(259, 84%, 71%)
CMYKcmyk(57.2%, 84.4%, 0%, 29.4%)
CIE-LABlab(28.65, 56.35, -70.49)
CIE-LCHlch(28.65, 90.25, 308.64°)
OKLaboklab(41.1% 0.0631 -0.203)
OKLCHoklch(41.1% 0.213 287.3)
XYZxyz(11.7116, 5.7029, 43.6548)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1CB4 #83B41C
analogous
#1C37B4 #4D1CB4 #991CB4
triadic
#4D1CB4 #B44D1C #1CB44D
tetradic
#4D1CB4 #B41C37 #83B41C #1CB499
square
#4D1CB4 #B41C37 #83B41C #1CB499
split-complementary
#4D1CB4 #B4991C #37B41C
monochromatic
#200C4A #36147F #4D1CB4 #672FDF #8E64E7

Accessibility & contrast

On white

9.81
#4D1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D1CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1CB4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1CB4#FFFFFF#000000##FFFFFF
##4D1CB41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1cb4;
/* rgb */ color: rgb(77, 28, 180);
/* oklch */ color: oklch(41.1% 0.213 287.3);
Tailwind
colors: {
  custom: {
    50: '#8c61cc',
    500: '#4d1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #4d1cb4;
$custom-light: #8c61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1cb4",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 259.342,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41096,
    "c": 0.21255,
    "h": 287.3
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#4D1CB4
secondary
#A9CC60
accent
#F038B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4D1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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