#4D2CB1#4D2CB1

#4D2CB1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.195 H 286.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4D2CB1
RGBrgb(77, 44, 177)
HSLhsl(255, 60%, 43%)
HSVhsv(255, 75%, 69%)
CMYKcmyk(56.5%, 75.1%, 0%, 30.6%)
CIE-LABlab(30.77, 48.52, -65.22)
CIE-LCHlch(30.77, 81.28, 306.65°)
OKLaboklab(42.48% 0.0539 -0.1877)
OKLCHoklch(42.48% 0.195 286)
XYZxyz(11.8947, 6.5528, 42.2245)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CB1 #90B12C
analogous
#2C4DB1 #4D2CB1 #8F2CB1
triadic
#4D2CB1 #B14D2C #2CB14D
tetradic
#4D2CB1 #B12C4D #90B12C #2CB18F
square
#4D2CB1 #B12C4D #90B12C #2CB18F
split-complementary
#4D2CB1 #B18F2C #4DB12C
monochromatic
#22144F #382080 #4D2CB1 #6B49D2 #927ADE

Accessibility & contrast

On white

9.09
#4D2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4D2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CB1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CB1#FFFFFF#000000##FFFFFF
##4D2CB11.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#1E516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d2cb1;
/* rgb */ color: rgb(77, 44, 177);
/* oklch */ color: oklch(42.5% 0.195 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a69c9',
    500: '#4d2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cb1;
$custom-light: #8a69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cb1",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 254.887,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.19532,
    "h": 286
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#4D2CB1
secondary
#B1C673
accent
#E344BC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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