#4D2FB7#4D2FB7

#4D2FB7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.199 H 284.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4D2FB7
RGBrgb(77, 47, 183)
HSLhsl(253, 59%, 45%)
HSVhsv(253, 74%, 72%)
CMYKcmyk(57.9%, 74.3%, 0%, 28.2%)
CIE-LABlab(31.87, 48.74, -66.97)
CIE-LCHlch(31.87, 82.83, 306.05°)
OKLaboklab(43.43% 0.0502 -0.1929)
OKLCHoklch(43.43% 0.199 284.6)
XYZxyz(12.6217, 7.0289, 45.4822)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FB7 #99B72F
analogous
#2F55B7 #4D2FB7 #912FB7
triadic
#4D2FB7 #B74D2F #2FB74D
tetradic
#4D2FB7 #B72F55 #99B72F #2FB791
square
#4D2FB7 #B72F55 #99B72F #2FB791
split-complementary
#4D2FB7 #B7912F #55B72F
monochromatic
#241656 #392286 #4D2FB7 #6D51D2 #9682DF

Accessibility & contrast

On white

8.73
#4D2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4D2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2FB7
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FB7#FFFFFF#000000##FFFFFF
##4D2FB71.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#135571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d2fb7;
/* rgb */ color: rgb(77, 47, 183);
/* oklch */ color: oklch(43.4% 0.199 284.6);
Tailwind
colors: {
  custom: {
    50: '#8b6bce',
    500: '#4d2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fb7;
$custom-light: #8b6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fb7",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 253.235,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.1993,
    "h": 284.6
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#4D2FB7
secondary
#B7C87A
accent
#E245C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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