#4D1165#4D1165

#4D1165 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.140 H 313.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4D1165
RGBrgb(77, 17, 101)
HSLhsl(283, 71%, 23%)
HSVhsv(283, 83%, 40%)
CMYKcmyk(23.8%, 83.2%, 0%, 60.4%)
CIE-LABlab(19.71, 40.73, -35.83)
CIE-LCHlch(19.71, 54.24, 318.66°)
OKLaboklab(32.62% 0.0971 -0.1013)
OKLCHoklch(32.62% 0.14 313.8)
XYZxyz(5.6096, 2.9185, 12.5772)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1165 #296511
analogous
#231165 #4D1165 #651153
triadic
#4D1165 #654D11 #11654D
tetradic
#4D1165 #652311 #296511 #115365
square
#4D1165 #652311 #296511 #115365
split-complementary
#4D1165 #536511 #116523
monochromatic
#14041A #250831 #4D1165 #751A99 #9D23CE

Accessibility & contrast

On white

13.26
#4D1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4D1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1165
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1165#FFFFFF#000000##FFFFFF
##4D11651.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#083163
Tritanopia (blue-blind)
#4B253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1165;
/* rgb */ color: rgb(77, 17, 101);
/* oklch */ color: oklch(32.6% 0.140 313.8);
Tailwind
colors: {
  custom: {
    50: '#825791',
    500: '#4d1165',
    950: '#000000',
  },
}
SCSS
$custom: #4d1165;
$custom-light: #825791;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1165",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 282.857,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32621,
    "c": 0.14031,
    "h": 313.8
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#4D1165
secondary
#529D35
accent
#EE3A6D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4D1165

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

Preview Lab → · Contrast checker → · Palette generator →

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