#4D2B89#4D2B89

#4D2B89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.148 H 295.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4D2B89
RGBrgb(77, 43, 137)
HSLhsl(262, 52%, 35%)
HSVhsv(262, 69%, 54%)
CMYKcmyk(43.8%, 68.6%, 0%, 46.3%)
CIE-LABlab(27.05, 37.50, -46.93)
CIE-LCHlch(27.05, 60.07, 308.62°)
OKLaboklab(38.75% 0.0631 -0.1341)
OKLCHoklch(38.75% 0.148 295.2)
XYZxyz(8.4386, 5.1115, 24.2041)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B89 #67892B
analogous
#2B3889 #4D2B89 #7C2B89
triadic
#4D2B89 #894D2B #2B894D
tetradic
#4D2B89 #892B38 #67892B #2B897C
square
#4D2B89 #892B38 #67892B #2B897C
split-complementary
#4D2B89 #897C2B #38892B
monochromatic
#190E2C #331C5A #4D2B89 #673AB8 #8861CD

Accessibility & contrast

On white

10.38
#4D2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4D2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B89
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B89#FFFFFF#000000##FFFFFF
##4D2B891.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#3D4156
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2b89;
/* rgb */ color: rgb(77, 43, 137);
/* oklch */ color: oklch(38.7% 0.148 295.2);
Tailwind
colors: {
  custom: {
    50: '#8467ac',
    500: '#4d2b89',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b89;
$custom-light: #8467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b89",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 261.702,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38748,
    "c": 0.14817,
    "h": 295.2
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#4D2B89
secondary
#94B35C
accent
#DC4CA8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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