#4D1B89#4D1B89

#4D1B89 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.167 H 298.1°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4D1B89
RGBrgb(77, 27, 137)
HSLhsl(267, 67%, 32%)
HSVhsv(267, 80%, 54%)
CMYKcmyk(43.8%, 80.3%, 0%, 46.3%)
CIE-LABlab(24.22, 45.46, -51.55)
CIE-LCHlch(24.22, 68.73, 311.41°)
OKLaboklab(36.74% 0.0787 -0.1476)
OKLCHoklch(36.74% 0.167 298.1)
XYZxyz(7.9667, 4.1677, 24.0468)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B89 #57891B
analogous
#1B2089 #4D1B89 #841B89
triadic
#4D1B89 #894D1B #1B894D
tetradic
#4D1B89 #891B20 #57891B #1B8984
square
#4D1B89 #891B20 #57891B #1B8984
split-complementary
#4D1B89 #89841B #20891B
monochromatic
#140723 #301156 #4D1B89 #6A25BC #8844DA

Accessibility & contrast

On white

11.45
#4D1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4D1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1B89
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B89#FFFFFF#000000##FFFFFF
##4D1B891.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#3E3952
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d1b89;
/* rgb */ color: rgb(77, 27, 137);
/* oklch */ color: oklch(36.7% 0.167 298.1);
Tailwind
colors: {
  custom: {
    50: '#855eac',
    500: '#4d1b89',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b89;
$custom-light: #855eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b89",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 267.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36742,
    "c": 0.16724,
    "h": 298.1
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#4D1B89
secondary
#85BC44
accent
#EA3E9C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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