#4D1CA9#4D1CA9

#4D1CA9 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.0% C 0.201 H 289.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4D1CA9
RGBrgb(77, 28, 169)
HSLhsl(261, 72%, 39%)
HSVhsv(261, 83%, 66%)
CMYKcmyk(54.4%, 83.4%, 0%, 33.7%)
CIE-LABlab(27.50, 53.45, -65.80)
CIE-LCHlch(27.50, 84.77, 309.09°)
OKLaboklab(39.96% 0.0671 -0.1893)
OKLCHoklch(39.96% 0.201 289.5)
XYZxyz(10.6352, 5.2724, 37.9857)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1CA9 #78A91C
analogous
#1C31A9 #4D1CA9 #931CA9
triadic
#4D1CA9 #A94D1C #1CA94D
tetradic
#4D1CA9 #A91C31 #78A91C #1CA993
square
#4D1CA9 #A91C31 #78A91C #1CA993
split-complementary
#4D1CA9 #A9931C #31A91C
monochromatic
#1D0B40 #351374 #4D1CA9 #6627DB #8B5BE4

Accessibility & contrast

On white

10.22
#4D1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1CA9
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1CA9#FFFFFF#000000##FFFFFF
##4D1CA91.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#284765
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d1ca9;
/* rgb */ color: rgb(77, 28, 169);
/* oklch */ color: oklch(40.0% 0.201 289.5);
Tailwind
colors: {
  custom: {
    50: '#8a60c4',
    500: '#4d1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #4d1ca9;
$custom-light: #8a60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1ca9",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 260.851,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39961,
    "c": 0.20083,
    "h": 289.5
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#4D1CA9
secondary
#A1C859
accent
#EE39AF
background
#F9F5FC
surface
#F1EAF8
border
#CBC6D1
text
#0D0513
muted
#7E7982

Preview Lab

Preview with #4D1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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