#4D2FDF#4D2FDF

#4D2FDF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.245 H 279.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4D2FDF
RGBrgb(77, 47, 223)
HSLhsl(250, 73%, 53%)
HSVhsv(250, 79%, 87%)
CMYKcmyk(65.5%, 78.9%, 0%, 12.5%)
CIE-LABlab(35.86, 60.32, -83.69)
CIE-LCHlch(35.86, 103.16, 305.78°)
OKLaboklab(47.41% 0.0396 -0.2417)
OKLCHoklch(47.41% 0.245 279.3)
XYZxyz(17.3921, 8.9371, 70.6062)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FDF #C1DF2F
analogous
#2F69DF #4D2FDF #A52FDF
triadic
#4D2FDF #DF4D2F #2FDF4D
tetradic
#4D2FDF #DF2F69 #C1DF2F #2FDFA5
square
#4D2FDF #DF2F69 #C1DF2F #2FDFA5
split-complementary
#4D2FDF #DFA52F #69DF2F
monochromatic
#261480 #361CB5 #4D2FDF #7A64E7 #A899EF

Accessibility & contrast

On white

7.53
#4D2FDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D2FDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2FDF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FDF#FFFFFF#000000##FFFFFF
##4D2FDF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2fdf;
/* rgb */ color: rgb(77, 47, 223);
/* oklch */ color: oklch(47.4% 0.245 279.3);
Tailwind
colors: {
  custom: {
    50: '#926dea',
    500: '#4d2fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fdf;
$custom-light: #926dea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fdf",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 250.227,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47408,
    "c": 0.24488,
    "h": 279.3
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#4D2FDF
secondary
#CEDB8F
accent
#F038D1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #4D2FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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