#4D2B72#4D2B72

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

Color values

HEX#4D2B72
RGBrgb(77, 43, 114)
HSLhsl(269, 45%, 31%)
HSVhsv(269, 62%, 45%)
CMYKcmyk(32.5%, 62.3%, 0%, 55.3%)
CIE-LABlab(25.32, 31.08, -35.21)
CIE-LCHlch(25.32, 46.97, 311.43°)
OKLaboklab(36.95% 0.065 -0.0996)
OKLCHoklch(36.95% 0.119 303.1)
XYZxyz(6.9610, 4.5204, 16.4221)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B72 #50722B
analogous
#2B2C72 #4D2B72 #702B72
triadic
#4D2B72 #724D2B #2B724D
tetradic
#4D2B72 #722B2C #50722B #2B7270
square
#4D2B72 #722B2C #50722B #2B7270
split-complementary
#4D2B72 #72702B #2C722B
monochromatic
#110919 #2F1A46 #4D2B72 #6B3C9E #8958C0

Accessibility & contrast

On white

11.03
#4D2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2B72
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B72#FFFFFF#000000##FFFFFF
##4D2B721.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#193C70
Tritanopia (blue-blind)
#46394A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2b72;
/* rgb */ color: rgb(77, 43, 114);
/* oklch */ color: oklch(36.9% 0.119 303.1);
Tailwind
colors: {
  custom: {
    50: '#82669b',
    500: '#4d2b72',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b72;
$custom-light: #82669b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b72",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 268.732,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36949,
    "c": 0.11896,
    "h": 303.1
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#4D2B72
secondary
#7EA455
accent
#D55397
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4D2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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