#4D2E8E#4D2E8E

#4D2E8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.150 H 293.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4D2E8E
RGBrgb(77, 46, 142)
HSLhsl(259, 51%, 37%)
HSVhsv(259, 68%, 56%)
CMYKcmyk(45.8%, 67.6%, 0%, 44.3%)
CIE-LABlab(28.07, 37.24, -48.37)
CIE-LCHlch(28.07, 61.04, 307.59°)
OKLaboklab(39.61% 0.0591 -0.1383)
OKLCHoklch(39.61% 0.15 293.1)
XYZxyz(8.9187, 5.4845, 26.1746)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E8E #6F8E2E
analogous
#2E3F8E #4D2E8E #7D2E8E
triadic
#4D2E8E #8E4D2E #2E8E4D
tetradic
#4D2E8E #8E2E3F #6F8E2E #2E8E7D
square
#4D2E8E #8E2E3F #6F8E2E #2E8E7D
split-complementary
#4D2E8E #8E7D2E #3F8E2E
monochromatic
#1B1032 #341F60 #4D2E8E #663DBC #8968CE

Accessibility & contrast

On white

10.01
#4D2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E8E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E8E#FFFFFF#000000##FFFFFF
##4D2E8E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#3A455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2e8e;
/* rgb */ color: rgb(77, 46, 142);
/* oklch */ color: oklch(39.6% 0.150 293.1);
Tailwind
colors: {
  custom: {
    50: '#8569b0',
    500: '#4d2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e8e;
$custom-light: #8569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e8e",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 259.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.15041,
    "h": 293.1
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#4D2E8E
secondary
#9AB563
accent
#DB4DAD
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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