#4D2BB0#4D2BB0

#4D2BB0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.195 H 286.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4D2BB0
RGBrgb(77, 43, 176)
HSLhsl(255, 61%, 43%)
HSVhsv(255, 76%, 69%)
CMYKcmyk(56.2%, 75.6%, 0%, 31%)
CIE-LABlab(30.50, 48.73, -65.06)
CIE-LCHlch(30.50, 81.29, 306.83°)
OKLaboklab(42.26% 0.0549 -0.1873)
OKLCHoklch(42.26% 0.195 286.3)
XYZxyz(11.7586, 6.4395, 41.6892)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BB0 #8EB02B
analogous
#2B4CB0 #4D2BB0 #8F2BB0
triadic
#4D2BB0 #B04D2B #2BB04D
tetradic
#4D2BB0 #B02B4C #8EB02B #2BB08F
square
#4D2BB0 #B02B4C #8EB02B #2BB08F
split-complementary
#4D2BB0 #B08F2B #4CB02B
monochromatic
#22134E #371F7F #4D2BB0 #6A46D2 #9278DE

Accessibility & contrast

On white

9.18
#4D2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4D2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BB0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BB0#FFFFFF#000000##FFFFFF
##4D2BB01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#1F506C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d2bb0;
/* rgb */ color: rgb(77, 43, 176);
/* oklch */ color: oklch(42.3% 0.195 286.3);
Tailwind
colors: {
  custom: {
    50: '#8a68c9',
    500: '#4d2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2bb0;
$custom-light: #8a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2bb0",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 255.338,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.19517,
    "h": 286.3
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#4D2BB0
secondary
#B0C671
accent
#E444BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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