#4D2BE2#4D2BE2

#4D2BE2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.251 H 279.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4D2BE2
RGBrgb(77, 43, 226)
HSLhsl(251, 76%, 53%)
HSVhsv(251, 81%, 89%)
CMYKcmyk(65.9%, 81%, 0%, 11.4%)
CIE-LABlab(35.59, 62.89, -85.87)
CIE-LCHlch(35.59, 106.43, 306.22°)
OKLaboklab(47.31% 0.0405 -0.2479)
OKLCHoklch(47.31% 0.251 279.3)
XYZxyz(17.6475, 8.7950, 72.7044)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BE2 #C0E22B
analogous
#2B64E2 #4D2BE2 #A92BE2
triadic
#4D2BE2 #E24D2B #2BE24D
tetradic
#4D2BE2 #E22B64 #C0E22B #2BE2A9
square
#4D2BE2 #E22B64 #C0E22B #2BE2A9
split-complementary
#4D2BE2 #E2A92B #64E22B
monochromatic
#261281 #3619B7 #4D2BE2 #7A61E9 #A797F1

Accessibility & contrast

On white

7.61
#4D2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D2BE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BE2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BE2#FFFFFF#000000##FFFFFF
##4D2BE21.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#004CDF
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d2be2;
/* rgb */ color: rgb(77, 43, 226);
/* oklch */ color: oklch(47.3% 0.251 279.3);
Tailwind
colors: {
  custom: {
    50: '#936bed',
    500: '#4d2be2',
    950: '#000000',
  },
}
SCSS
$custom: #4d2be2;
$custom-light: #936bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2be2",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 251.148,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.25122,
    "h": 279.3
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#4D2BE2
secondary
#CDDC8D
accent
#F335CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4D2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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