#4D1B73#4D1B73

#4D1B73 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.143 H 306.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#4D1B73
RGBrgb(77, 27, 115)
HSLhsl(274, 62%, 28%)
HSVhsv(274, 77%, 45%)
CMYKcmyk(33%, 76.5%, 0%, 54.9%)
CIE-LABlab(22.30, 39.87, -40.73)
CIE-LCHlch(22.30, 57.00, 314.38°)
OKLaboklab(34.8% 0.0844 -0.1158)
OKLCHoklch(34.8% 0.143 306.1)
XYZxyz(6.5463, 3.5995, 16.5662)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B73 #41731B
analogous
#211B73 #4D1B73 #731B6D
triadic
#4D1B73 #734D1B #1B734D
tetradic
#4D1B73 #73211B #41731B #1B6D73
square
#4D1B73 #73211B #41731B #1B6D73
split-complementary
#4D1B73 #6D731B #1B7321
monochromatic
#110619 #2C0F41 #4D1B73 #6E27A5 #8F38D0

Accessibility & contrast

On white

12.21
#4D1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4D1B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1B73
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B73#FFFFFF#000000##FFFFFF
##4D1B731.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#463045
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4d1b73;
/* rgb */ color: rgb(77, 27, 115);
/* oklch */ color: oklch(34.8% 0.143 306.1);
Tailwind
colors: {
  custom: {
    50: '#835d9c',
    500: '#4d1b73',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b73;
$custom-light: #835d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b73",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 274.091,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.348,
    "c": 0.14326,
    "h": 306.1
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#4D1B73
secondary
#6EA842
accent
#E54389
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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