#4D2BBD#4D2BBD

#4D2BBD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.210 H 284.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4D2BBD
RGBrgb(77, 43, 189)
HSLhsl(254, 63%, 45%)
HSVhsv(254, 77%, 74%)
CMYKcmyk(59.3%, 77.2%, 0%, 25.9%)
CIE-LABlab(31.76, 52.46, -70.70)
CIE-LCHlch(31.76, 88.04, 306.58°)
OKLaboklab(43.52% 0.0514 -0.2038)
OKLCHoklch(43.52% 0.21 284.1)
XYZxyz(13.1069, 6.9788, 48.7906)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BBD #9BBD2B
analogous
#2B52BD #4D2BBD #962BBD
triadic
#4D2BBD #BD4D2B #2BBD4D
tetradic
#4D2BBD #BD2B52 #9BBD2B #2BBD96
square
#4D2BBD #BD2B52 #9BBD2B #2BBD96
split-complementary
#4D2BBD #BD962B #52BD2B
monochromatic
#241459 #39208B #4D2BBD #6E4ED7 #9780E2

Accessibility & contrast

On white

8.76
#4D2BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4D2BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BBD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BBD#FFFFFF#000000##FFFFFF
##4D2BBD1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#015573
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d2bbd;
/* rgb */ color: rgb(77, 43, 189);
/* oklch */ color: oklch(43.5% 0.210 284.1);
Tailwind
colors: {
  custom: {
    50: '#8c69d2',
    500: '#4d2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #4d2bbd;
$custom-light: #8c69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2bbd",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 253.973,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.21014,
    "h": 284.1
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#4D2BBD
secondary
#B8CB79
accent
#E642C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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