#4F216D#4F216D

#4F216D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.129 H 309.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4F216D
RGBrgb(79, 33, 109)
HSLhsl(276, 54%, 28%)
HSVhsv(276, 70%, 43%)
CMYKcmyk(27.5%, 69.7%, 0%, 57.3%)
CIE-LABlab(23.18, 35.87, -35.43)
CIE-LCHlch(23.18, 50.41, 315.36°)
OKLaboklab(35.35% 0.0813 -0.1001)
OKLCHoklch(35.35% 0.129 309.1)
XYZxyz(6.5281, 3.8542, 14.8651)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F216D #3F6D21
analogous
#29216D #4F216D #6D2165
triadic
#4F216D #6D4F21 #216D4F
tetradic
#4F216D #6D2921 #3F6D21 #21656D
square
#4F216D #6D2921 #3F6D21 #21656D
split-complementary
#4F216D #656D21 #216D29
monochromatic
#110717 #2D133E #4F216D #712F9C #9242C6

Accessibility & contrast

On white

11.86
#4F216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4F216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F216D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F216D#FFFFFF#000000##FFFFFF
##4F216D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#4B3144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f216d;
/* rgb */ color: rgb(79, 33, 109);
/* oklch */ color: oklch(35.3% 0.129 309.1);
Tailwind
colors: {
  custom: {
    50: '#836097',
    500: '#4f216d',
    950: '#000000',
  },
}
SCSS
$custom: #4f216d;
$custom-light: #836097;
$custom-dark: #000000;
JSON
{
  "hex": "#4f216d",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 276.316,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35346,
    "c": 0.12899,
    "h": 309.1
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#4F216D
secondary
#6CA149
accent
#DD4B85
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4F216D

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

Preview Lab → · Contrast checker → · Palette generator →

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