#4D2F88#4D2F88

#4D2F88 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.141 H 294.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4D2F88
RGBrgb(77, 47, 136)
HSLhsl(260, 49%, 36%)
HSVhsv(260, 65%, 53%)
CMYKcmyk(43.4%, 65.4%, 0%, 46.7%)
CIE-LABlab(27.81, 34.92, -45.07)
CIE-LCHlch(27.81, 57.01, 307.77°)
OKLaboklab(39.27% 0.0586 -0.1286)
OKLCHoklch(39.27% 0.141 294.5)
XYZxyz(8.5198, 5.3882, 23.8789)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2F88 #6A882F
analogous
#2F3D88 #4D2F88 #792F88
triadic
#4D2F88 #884D2F #2F884D
tetradic
#4D2F88 #882F3D #6A882F #2F8879
square
#4D2F88 #882F3D #6A882F #2F8879
split-complementary
#4D2F88 #88792F #3D882F
monochromatic
#19102D #331F5B #4D2F88 #673FB5 #8867CA

Accessibility & contrast

On white

10.11
#4D2F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D2F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2F88
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2F88#FFFFFF#000000##FFFFFF
##4D2F881.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#3D4457
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2f88;
/* rgb */ color: rgb(77, 47, 136);
/* oklch */ color: oklch(39.3% 0.141 294.5);
Tailwind
colors: {
  custom: {
    50: '#8469ab',
    500: '#4d2f88',
    950: '#000000',
  },
}
SCSS
$custom: #4d2f88;
$custom-light: #8469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2f88",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 260.225,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.14134,
    "h": 294.5
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#4D2F88
secondary
#96B161
accent
#D850AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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