#4D2FBB#4D2FBB

#4D2FBB is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.8% C 0.204 H 284.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4D2FBB
RGBrgb(77, 47, 187)
HSLhsl(253, 60%, 46%)
HSVhsv(253, 75%, 73%)
CMYKcmyk(58.8%, 74.9%, 0%, 26.7%)
CIE-LABlab(32.25, 49.92, -68.71)
CIE-LCHlch(32.25, 84.93, 306.00°)
OKLaboklab(43.81% 0.0492 -0.198)
OKLCHoklch(43.81% 0.204 284)
XYZxyz(13.0440, 7.1978, 47.7060)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FBB #9DBB2F
analogous
#2F57BB #4D2FBB #932FBB
triadic
#4D2FBB #BB4D2F #2FBB4D
tetradic
#4D2FBB #BB2F57 #9DBB2F #2FBB93
square
#4D2FBB #BB2F57 #9DBB2F #2FBB93
split-complementary
#4D2FBB #BB932F #57BB2F
monochromatic
#251659 #39238A #4D2FBB #6F53D4 #9884E0

Accessibility & contrast

On white

8.61
#4D2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4D2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2FBB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FBB#FFFFFF#000000##FFFFFF
##4D2FBB1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#075673
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d2fbb;
/* rgb */ color: rgb(77, 47, 187);
/* oklch */ color: oklch(43.8% 0.204 284.0);
Tailwind
colors: {
  custom: {
    50: '#8b6bd1',
    500: '#4d2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fbb;
$custom-light: #8b6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fbb",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 252.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.204,
    "h": 284
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#4D2FBB
secondary
#B9C97C
accent
#E345C1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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