#4D216F#4D216F

#4D216F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.131 H 306.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#4D216F
RGBrgb(77, 33, 111)
HSLhsl(274, 54%, 28%)
HSVhsv(274, 70%, 44%)
CMYKcmyk(30.6%, 70.3%, 0%, 56.5%)
CIE-LABlab(23.04, 35.89, -36.96)
CIE-LCHlch(23.04, 51.52, 314.16°)
OKLaboklab(35.23% 0.0782 -0.1047)
OKLCHoklch(35.23% 0.131 306.7)
XYZxyz(6.4731, 3.8133, 15.4309)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D216F #436F21
analogous
#26216F #4D216F #6F216A
triadic
#4D216F #6F4D21 #216F4D
tetradic
#4D216F #6F2621 #436F21 #216A6F
square
#4D216F #6F2621 #436F21 #216A6F
split-complementary
#4D216F #6A6F21 #216F26
monochromatic
#100718 #2C1340 #4D216F #6E2F9E #8E43C7

Accessibility & contrast

On white

11.91
#4D216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4D216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D216F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D216F#FFFFFF#000000##FFFFFF
##4D216F1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#473245
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4d216f;
/* rgb */ color: rgb(77, 33, 111);
/* oklch */ color: oklch(35.2% 0.131 306.7);
Tailwind
colors: {
  custom: {
    50: '#826099',
    500: '#4d216f',
    950: '#000000',
  },
}
SCSS
$custom: #4d216f;
$custom-light: #826099;
$custom-dark: #000000;
JSON
{
  "hex": "#4d216f",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 273.846,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.13068,
    "h": 306.7
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#4D216F
secondary
#70A349
accent
#DE4A8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D216F

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

Preview Lab → · Contrast checker → · Palette generator →

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