#4D105A#4D105A

#4D105A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.131 H 319.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4D105A
RGBrgb(77, 16, 90)
HSLhsl(289, 70%, 21%)
HSVhsv(289, 82%, 35%)
CMYKcmyk(14.4%, 82.2%, 0%, 64.7%)
CIE-LABlab(18.74, 38.72, -30.10)
CIE-LCHlch(18.74, 49.04, 322.15°)
OKLaboklab(31.67% 0.0999 -0.0845)
OKLCHoklch(31.67% 0.131 319.8)
XYZxyz(5.0911, 2.6868, 9.9213)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D105A #1D5A10
analogous
#28105A #4D105A #5A1042
triadic
#4D105A #5A4D10 #105A4D
tetradic
#4D105A #5A2810 #1D5A10 #10425A
square
#4D105A #5A2810 #1D5A10 #10425A
split-complementary
#4D105A #425A10 #105A28
monochromatic
#16051A #210726 #4D105A #79198E #A622C2

Accessibility & contrast

On white

13.66
#4D105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D105A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D105A#FFFFFF#000000##FFFFFF
##4D105A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.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: #4d105a;
/* rgb */ color: rgb(77, 16, 90);
/* oklch */ color: oklch(31.7% 0.131 319.8);
Tailwind
colors: {
  custom: {
    50: '#825689',
    500: '#4d105a',
    950: '#000000',
  },
}
SCSS
$custom: #4d105a;
$custom-light: #825689;
$custom-dark: #000000;
JSON
{
  "hex": "#4d105a",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 289.459,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31668,
    "c": 0.13083,
    "h": 319.8
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#4D105A
secondary
#449333
accent
#ED3B5A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D105A

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

Preview Lab → · Contrast checker → · Palette generator →

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