#4D2F83#4D2F83

#4D2F83 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.135 H 296.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4D2F83
RGBrgb(77, 47, 131)
HSLhsl(261, 47%, 35%)
HSVhsv(261, 64%, 51%)
CMYKcmyk(41.2%, 64.1%, 0%, 48.6%)
CIE-LABlab(27.43, 33.47, -42.56)
CIE-LCHlch(27.43, 54.15, 308.18°)
OKLaboklab(38.88% 0.059 -0.1212)
OKLCHoklch(38.88% 0.135 296)
XYZxyz(8.1727, 5.2493, 22.0510)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2F83 #65832F
analogous
#2F3B83 #4D2F83 #772F83
triadic
#4D2F83 #834D2F #2F834D
tetradic
#4D2F83 #832F3B #65832F #2F8377
square
#4D2F83 #832F3B #65832F #2F8377
split-complementary
#4D2F83 #83772F #3B832F
monochromatic
#180F29 #331F56 #4D2F83 #673FB0 #8865C8

Accessibility & contrast

On white

10.24
#4D2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2F83
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2F83#FFFFFF#000000##FFFFFF
##4D2F831.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#004081
Tritanopia (blue-blind)
#3F4254
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2f83;
/* rgb */ color: rgb(77, 47, 131);
/* oklch */ color: oklch(38.9% 0.135 296.0);
Tailwind
colors: {
  custom: {
    50: '#8369a8',
    500: '#4d2f83',
    950: '#000000',
  },
}
SCSS
$custom: #4d2f83;
$custom-light: #8369a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2f83",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 261.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.13486,
    "h": 296
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#4D2F83
secondary
#92AF5F
accent
#D751A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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