#4D2B71#4D2B71

#4D2B71 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.9% C 0.118 H 303.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4D2B71
RGBrgb(77, 43, 113)
HSLhsl(269, 45%, 31%)
HSVhsv(269, 62%, 44%)
CMYKcmyk(31.9%, 61.9%, 0%, 55.7%)
CIE-LABlab(25.25, 30.81, -34.69)
CIE-LCHlch(25.25, 46.39, 311.61°)
OKLaboklab(36.88% 0.065 -0.0981)
OKLCHoklch(36.88% 0.118 303.5)
XYZxyz(6.9044, 4.4978, 16.1240)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B71 #4F712B
analogous
#2B2C71 #4D2B71 #702B71
triadic
#4D2B71 #714D2B #2B714D
tetradic
#4D2B71 #712B2C #4F712B #2B7170
square
#4D2B71 #712B2C #4F712B #2B7170
split-complementary
#4D2B71 #71702B #2C712B
monochromatic
#110918 #2F1A45 #4D2B71 #6B3C9D #8A57BF

Accessibility & contrast

On white

11.05
#4D2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4D2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B71
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B71#FFFFFF#000000##FFFFFF
##4D2B711.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B73
Deuteranopia (green-blind)
#1A3C6F
Tritanopia (blue-blind)
#463949
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2b71;
/* rgb */ color: rgb(77, 43, 113);
/* oklch */ color: oklch(36.9% 0.118 303.5);
Tailwind
colors: {
  custom: {
    50: '#82669a',
    500: '#4d2b71',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b71;
$custom-light: #82669a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b71",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 269.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.11767,
    "h": 303.5
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#4D2B71
secondary
#7DA355
accent
#D55396
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4D2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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