#4D2BB4#4D2BB4

#4D2BB4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.200 H 285.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4D2BB4
RGBrgb(77, 43, 180)
HSLhsl(255, 61%, 44%)
HSVhsv(255, 76%, 71%)
CMYKcmyk(57.2%, 76.1%, 0%, 29.4%)
CIE-LABlab(30.88, 49.88, -66.82)
CIE-LCHlch(30.88, 83.38, 306.74°)
OKLaboklab(42.64% 0.0538 -0.1924)
OKLCHoklch(42.64% 0.2 285.6)
XYZxyz(12.1602, 6.6001, 43.8044)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BB4 #92B42B
analogous
#2B4DB4 #4D2BB4 #912BB4
triadic
#4D2BB4 #B44D2B #2BB44D
tetradic
#4D2BB4 #B42B4D #92B42B #2BB491
square
#4D2BB4 #B42B4D #92B42B #2BB491
split-complementary
#4D2BB4 #B4912B #4DB42B
monochromatic
#231351 #381F83 #4D2BB4 #6B49D3 #937ADF

Accessibility & contrast

On white

9.05
#4D2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4D2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BB4
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BB4#FFFFFF#000000##FFFFFF
##4D2BB41.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#19526E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d2bb4;
/* rgb */ color: rgb(77, 43, 180);
/* oklch */ color: oklch(42.6% 0.200 285.6);
Tailwind
colors: {
  custom: {
    50: '#8b69cc',
    500: '#4d2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #4d2bb4;
$custom-light: #8b69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2bb4",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 254.891,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.19981,
    "h": 285.6
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#4D2BB4
secondary
#B3C773
accent
#E543BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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