#4D2DDF#4D2DDF

#4D2DDF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.246 H 279.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4D2DDF
RGBrgb(77, 45, 223)
HSLhsl(251, 74%, 53%)
HSVhsv(251, 80%, 87%)
CMYKcmyk(65.5%, 79.8%, 0%, 12.5%)
CIE-LABlab(35.56, 61.20, -84.20)
CIE-LCHlch(35.56, 104.09, 306.01°)
OKLaboklab(47.2% 0.0405 -0.2431)
OKLCHoklch(47.2% 0.246 279.5)
XYZxyz(17.3140, 8.7808, 70.5802)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2DDF #BFDF2D
analogous
#2D66DF #4D2DDF #A62DDF
triadic
#4D2DDF #DF4D2D #2DDF4D
tetradic
#4D2DDF #DF2D66 #BFDF2D #2DDFA6
square
#4D2DDF #DF2D66 #BFDF2D #2DDFA6
split-complementary
#4D2DDF #DFA62D #66DF2D
monochromatic
#27137E #371BB3 #4D2DDF #7A62E7 #A797EF

Accessibility & contrast

On white

7.62
#4D2DDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D2DDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2DDF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2DDF#FFFFFF#000000##FFFFFF
##4D2DDF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE4
Deuteranopia (green-blind)
#004DDC
Tritanopia (blue-blind)
#006487
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d2ddf;
/* rgb */ color: rgb(77, 45, 223);
/* oklch */ color: oklch(47.2% 0.246 279.5);
Tailwind
colors: {
  custom: {
    50: '#926ceb',
    500: '#4d2ddf',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ddf;
$custom-light: #926ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ddf",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 223
  },
  "hsl": {
    "h": 250.787,
    "s": 73.554,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47198,
    "c": 0.24646,
    "h": 279.5
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#4D2DDF
secondary
#CDDB8D
accent
#F038CF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #4D2DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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