#4D2C8E#4D2C8E

#4D2C8E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.153 H 293.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4D2C8E
RGBrgb(77, 44, 142)
HSLhsl(260, 53%, 36%)
HSVhsv(260, 69%, 56%)
CMYKcmyk(45.8%, 69%, 0%, 44.3%)
CIE-LABlab(27.66, 38.37, -49.04)
CIE-LCHlch(27.66, 62.27, 308.04°)
OKLaboklab(39.31% 0.0612 -0.1403)
OKLCHoklch(39.31% 0.153 293.6)
XYZxyz(8.8424, 5.3319, 26.1492)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C8E #6D8E2C
analogous
#2C3C8E #4D2C8E #7E2C8E
triadic
#4D2C8E #8E4D2C #2C8E4D
tetradic
#4D2C8E #8E2C3C #6D8E2C #2C8E7E
square
#4D2C8E #8E2C3C #6D8E2C #2C8E7E
split-complementary
#4D2C8E #8E7E2C #3C8E2C
monochromatic
#1A0F31 #341E5F #4D2C8E #663ABD #8965CF

Accessibility & contrast

On white

10.16
#4D2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4D2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C8E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C8E#FFFFFF#000000##FFFFFF
##4D2C8E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#3A4459
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2c8e;
/* rgb */ color: rgb(77, 44, 142);
/* oklch */ color: oklch(39.3% 0.153 293.6);
Tailwind
colors: {
  custom: {
    50: '#8567b0',
    500: '#4d2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c8e;
$custom-light: #8567b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c8e",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 260.204,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.15307,
    "h": 293.6
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#4D2C8E
secondary
#99B660
accent
#DC4CAB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4D2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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