#4D115A#4D115A

#4D115A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.130 H 319.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4D115A
RGBrgb(77, 17, 90)
HSLhsl(289, 68%, 21%)
HSVhsv(289, 81%, 35%)
CMYKcmyk(14.4%, 81.1%, 0%, 64.7%)
CIE-LABlab(18.87, 38.35, -29.89)
CIE-LCHlch(18.87, 48.62, 322.07°)
OKLaboklab(31.76% 0.0989 -0.0839)
OKLCHoklch(31.76% 0.13 319.7)
XYZxyz(5.1062, 2.7171, 9.9264)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D115A #1E5A11
analogous
#28115A #4D115A #5A1142
triadic
#4D115A #5A4D11 #115A4D
tetradic
#4D115A #5A2811 #1E5A11 #11425A
square
#4D115A #5A2811 #1E5A11 #11425A
split-complementary
#4D115A #425A11 #115A28
monochromatic
#16051A #210727 #4D115A #791B8D #A524C1

Accessibility & contrast

On white

13.61
#4D115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4D115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D115A
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D115A#FFFFFF#000000##FFFFFF
##4D115A1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#173058
Tritanopia (blue-blind)
#4D2035
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d115a;
/* rgb */ color: rgb(77, 17, 90);
/* oklch */ color: oklch(31.8% 0.130 319.7);
Tailwind
colors: {
  custom: {
    50: '#825789',
    500: '#4d115a',
    950: '#000000',
  },
}
SCSS
$custom: #4d115a;
$custom-light: #825789;
$custom-dark: #000000;
JSON
{
  "hex": "#4d115a",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 289.315,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.12968,
    "h": 319.7
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#4D115A
secondary
#459334
accent
#EB3D5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D115A

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

Preview Lab → · Contrast checker → · Palette generator →

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