#4D2FC3#4D2FC3

#4D2FC3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.213 H 282.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4D2FC3
RGBrgb(77, 47, 195)
HSLhsl(252, 61%, 47%)
HSVhsv(252, 76%, 76%)
CMYKcmyk(60.5%, 75.9%, 0%, 23.5%)
CIE-LABlab(33.03, 52.26, -72.14)
CIE-LCHlch(33.03, 89.08, 305.92°)
OKLaboklab(44.59% 0.0472 -0.208)
OKLCHoklch(44.59% 0.213 282.8)
XYZxyz(13.9243, 7.5500, 52.3427)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FC3 #A5C32F
analogous
#2F5BC3 #4D2FC3 #972FC3
triadic
#4D2FC3 #C34D2F #2FC34D
tetradic
#4D2FC3 #C32F5B #A5C32F #2FC397
square
#4D2FC3 #C32F5B #A5C32F #2FC397
split-complementary
#4D2FC3 #C3972F #5BC32F
monochromatic
#261760 #3A2392 #4D2FC3 #7258D7 #9C8AE3

Accessibility & contrast

On white

8.37
#4D2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D2FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2FC3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FC3#FFFFFF#000000##FFFFFF
##4D2FC31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d2fc3;
/* rgb */ color: rgb(77, 47, 195);
/* oklch */ color: oklch(44.6% 0.213 282.8);
Tailwind
colors: {
  custom: {
    50: '#8d6cd6',
    500: '#4d2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fc3;
$custom-light: #8d6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fc3",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 252.162,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44587,
    "c": 0.21329,
    "h": 282.8
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#4D2FC3
secondary
#BDCD81
accent
#E444C4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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