#4D2FC2#4D2FC2

#4D2FC2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.212 H 282.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4D2FC2
RGBrgb(77, 47, 194)
HSLhsl(252, 61%, 47%)
HSVhsv(252, 76%, 76%)
CMYKcmyk(60.3%, 75.8%, 0%, 23.9%)
CIE-LABlab(32.93, 51.97, -71.72)
CIE-LCHlch(32.93, 88.56, 305.93°)
OKLaboklab(44.49% 0.0474 -0.2068)
OKLCHoklch(44.49% 0.212 282.9)
XYZxyz(13.8117, 7.5049, 51.7493)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FC2 #A4C22F
analogous
#2F5AC2 #4D2FC2 #972FC2
triadic
#4D2FC2 #C24D2F #2FC24D
tetradic
#4D2FC2 #C22F5A #A4C22F #2FC297
square
#4D2FC2 #C22F5A #A4C22F #2FC297
split-complementary
#4D2FC2 #C2972F #5AC22F
monochromatic
#26175F #392391 #4D2FC2 #7258D6 #9B89E2

Accessibility & contrast

On white

8.40
#4D2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D2FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2FC2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FC2#FFFFFF#000000##FFFFFF
##4D2FC21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d2fc2;
/* rgb */ color: rgb(77, 47, 194);
/* oklch */ color: oklch(44.5% 0.212 282.9);
Tailwind
colors: {
  custom: {
    50: '#8d6cd6',
    500: '#4d2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fc2;
$custom-light: #8d6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fc2",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 252.245,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.21214,
    "h": 282.9
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#4D2FC2
secondary
#BDCC81
accent
#E444C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4D2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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