#4D2FD2#4D2FD2

#4D2FD2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.230 H 280.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4D2FD2
RGBrgb(77, 47, 210)
HSLhsl(251, 64%, 50%)
HSVhsv(251, 78%, 82%)
CMYKcmyk(63.3%, 77.6%, 0%, 17.6%)
CIE-LABlab(34.52, 56.60, -78.42)
CIE-LCHlch(34.52, 96.71, 305.82°)
OKLaboklab(46.08% 0.0432 -0.2263)
OKLCHoklch(46.08% 0.23 280.8)
XYZxyz(15.7063, 8.2627, 61.7275)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FD2 #B4D22F
analogous
#2F62D2 #4D2FD2 #9E2FD2
triadic
#4D2FD2 #D24D2F #2FD24D
tetradic
#4D2FD2 #D22F62 #B4D22F #2FD29E
square
#4D2FD2 #D22F62 #B4D22F #2FD29E
split-complementary
#4D2FD2 #D29E2F #62D22F
monochromatic
#28186F #3A23A1 #4D2FD2 #7861DD #A394E8

Accessibility & contrast

On white

7.92
#4D2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4D2FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2FD2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FD2#FFFFFF#000000##FFFFFF
##4D2FD21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#004BCF
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d2fd2;
/* rgb */ color: rgb(77, 47, 210);
/* oklch */ color: oklch(46.1% 0.230 280.8);
Tailwind
colors: {
  custom: {
    50: '#906ce1',
    500: '#4d2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fd2;
$custom-light: #906ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fd2",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 251.043,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.23039,
    "h": 280.8
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#4D2FD2
secondary
#C5D38A
accent
#E740C9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #4D2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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