#4D2E83#4D2E83

#4D2E83 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.136 H 296.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4D2E83
RGBrgb(77, 46, 131)
HSLhsl(262, 48%, 35%)
HSVhsv(262, 65%, 51%)
CMYKcmyk(41.2%, 64.9%, 0%, 48.6%)
CIE-LABlab(27.21, 34.06, -42.92)
CIE-LCHlch(27.21, 54.79, 308.44°)
OKLaboklab(38.72% 0.0603 -0.1223)
OKLCHoklch(38.72% 0.136 296.2)
XYZxyz(8.1332, 5.1703, 22.0378)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E83 #64832E
analogous
#2E3A83 #4D2E83 #782E83
triadic
#4D2E83 #834D2E #2E834D
tetradic
#4D2E83 #832E3A #64832E #2E8378
square
#4D2E83 #832E3A #64832E #2E8378
split-complementary
#4D2E83 #83782E #3A832E
monochromatic
#180E28 #321E56 #4D2E83 #683EB0 #8863C8

Accessibility & contrast

On white

10.32
#4D2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4D2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E83
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E83#FFFFFF#000000##FFFFFF
##4D2E831.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#404154
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2e83;
/* rgb */ color: rgb(77, 46, 131);
/* oklch */ color: oklch(38.7% 0.136 296.2);
Tailwind
colors: {
  custom: {
    50: '#8368a8',
    500: '#4d2e83',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e83;
$custom-light: #8368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e83",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 261.882,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.13633,
    "h": 296.2
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#4D2E83
secondary
#91AF5E
accent
#D850A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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