#4D2FC1#4D2FC1

#4D2FC1 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.211 H 283.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4D2FC1
RGBrgb(77, 47, 193)
HSLhsl(252, 61%, 47%)
HSVhsv(252, 76%, 76%)
CMYKcmyk(60.1%, 75.6%, 0%, 24.3%)
CIE-LABlab(32.83, 51.67, -71.29)
CIE-LCHlch(32.83, 88.05, 305.94°)
OKLaboklab(44.39% 0.0477 -0.2055)
OKLCHoklch(44.39% 0.211 283.1)
XYZxyz(13.6997, 7.4601, 51.1598)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FC1 #A3C12F
analogous
#2F5AC1 #4D2FC1 #962FC1
triadic
#4D2FC1 #C14D2F #2FC14D
tetradic
#4D2FC1 #C12F5A #A3C12F #2FC196
square
#4D2FC1 #C12F5A #A3C12F #2FC196
split-complementary
#4D2FC1 #C1962F #5AC12F
monochromatic
#26175F #392390 #4D2FC1 #7157D6 #9B88E2

Accessibility & contrast

On white

8.43
#4D2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4D2FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2FC1
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FC1#FFFFFF#000000##FFFFFF
##4D2FC11.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0048BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d2fc1;
/* rgb */ color: rgb(77, 47, 193);
/* oklch */ color: oklch(44.4% 0.211 283.1);
Tailwind
colors: {
  custom: {
    50: '#8c6bd5',
    500: '#4d2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fc1;
$custom-light: #8c6bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fc1",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 252.329,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.21098,
    "h": 283.1
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#4D2FC1
secondary
#BCCC80
accent
#E444C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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