#4D1E8F#4D1E8F

#4D1E8F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.171 H 295.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4D1E8F
RGBrgb(77, 30, 143)
HSLhsl(265, 65%, 34%)
HSVhsv(265, 79%, 56%)
CMYKcmyk(46.2%, 79%, 0%, 43.9%)
CIE-LABlab(25.23, 45.73, -53.63)
CIE-LCHlch(25.23, 70.48, 310.45°)
OKLaboklab(37.62% 0.0744 -0.1537)
OKLCHoklch(37.62% 0.171 295.8)
XYZxyz(8.4814, 4.4893, 26.4009)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E8F #608F1E
analogous
#1E278F #4D1E8F #861E8F
triadic
#4D1E8F #8F4D1E #1E8F4D
tetradic
#4D1E8F #8F1E27 #608F1E #1E8F86
square
#4D1E8F #8F1E27 #608F1E #1E8F86
split-complementary
#4D1E8F #8F861E #278F1E
monochromatic
#17092A #32135C #4D1E8F #6829C2 #884EDA

Accessibility & contrast

On white

11.07
#4D1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4D1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E8F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E8F#FFFFFF#000000##FFFFFF
##4D1E8F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#3B3D56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d1e8f;
/* rgb */ color: rgb(77, 30, 143);
/* oklch */ color: oklch(37.6% 0.171 295.8);
Tailwind
colors: {
  custom: {
    50: '#8660b1',
    500: '#4d1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e8f;
$custom-light: #8660b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e8f",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 264.956,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37617,
    "c": 0.17077,
    "h": 295.8
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#4D1E8F
secondary
#8EBC4C
accent
#E840A2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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