#4D2BB2#4D2BB2

#4D2BB2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.197 H 286.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4D2BB2
RGBrgb(77, 43, 178)
HSLhsl(255, 61%, 43%)
HSVhsv(255, 76%, 70%)
CMYKcmyk(56.7%, 75.8%, 0%, 30.2%)
CIE-LABlab(30.69, 49.31, -65.94)
CIE-LCHlch(30.69, 82.34, 306.78°)
OKLaboklab(42.45% 0.0544 -0.1899)
OKLCHoklch(42.45% 0.197 286)
XYZxyz(11.9579, 6.5192, 42.7391)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BB2 #90B22B
analogous
#2B4CB2 #4D2BB2 #902BB2
triadic
#4D2BB2 #B24D2B #2BB24D
tetradic
#4D2BB2 #B22B4C #90B22B #2BB290
square
#4D2BB2 #B22B4C #90B22B #2BB290
split-complementary
#4D2BB2 #B2902B #4CB22B
monochromatic
#22134F #381F81 #4D2BB2 #6B48D3 #9279DF

Accessibility & contrast

On white

9.11
#4D2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BB2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BB2#FFFFFF#000000##FFFFFF
##4D2BB21.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#1C516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d2bb2;
/* rgb */ color: rgb(77, 43, 178);
/* oklch */ color: oklch(42.4% 0.197 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a68ca',
    500: '#4d2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4d2bb2;
$custom-light: #8a68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2bb2",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 255.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.19749,
    "h": 286
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#4D2BB2
secondary
#B1C772
accent
#E444BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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