#4D2E8F#4D2E8F

#4D2E8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.152 H 292.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4D2E8F
RGBrgb(77, 46, 143)
HSLhsl(259, 51%, 37%)
HSVhsv(259, 68%, 56%)
CMYKcmyk(46.2%, 67.8%, 0%, 43.9%)
CIE-LABlab(28.15, 37.53, -48.86)
CIE-LCHlch(28.15, 61.61, 307.53°)
OKLaboklab(39.69% 0.0589 -0.1398)
OKLCHoklch(39.69% 0.152 292.9)
XYZxyz(8.9941, 5.5147, 26.5718)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E8F #708F2E
analogous
#2E408F #4D2E8F #7E2E8F
triadic
#4D2E8F #8F4D2E #2E8F4D
tetradic
#4D2E8F #8F2E40 #708F2E #2E8F7E
square
#4D2E8F #8F2E40 #708F2E #2E8F7E
split-complementary
#4D2E8F #8F7E2E #408F2E
monochromatic
#1B1032 #341F61 #4D2E8F #663DBD #8969CF

Accessibility & contrast

On white

9.99
#4D2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2E8F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E8F#FFFFFF#000000##FFFFFF
##4D2E8F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#3A455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2e8f;
/* rgb */ color: rgb(77, 46, 143);
/* oklch */ color: oklch(39.7% 0.152 292.9);
Tailwind
colors: {
  custom: {
    50: '#8569b1',
    500: '#4d2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e8f;
$custom-light: #8569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e8f",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 259.175,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.15167,
    "h": 292.9
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#4D2E8F
secondary
#9BB663
accent
#DB4DAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4D2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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