#4F216E#4F216E

#4F216E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.130 H 308.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#4F216E
RGBrgb(79, 33, 110)
HSLhsl(276, 54%, 28%)
HSVhsv(276, 70%, 43%)
CMYKcmyk(28.2%, 70%, 0%, 56.9%)
CIE-LABlab(23.26, 36.12, -35.95)
CIE-LCHlch(23.26, 50.96, 315.13°)
OKLaboklab(35.42% 0.0812 -0.1017)
OKLCHoklch(35.42% 0.13 308.6)
XYZxyz(6.5822, 3.8759, 15.1502)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F216E #406E21
analogous
#28216E #4F216E #6E2166
triadic
#4F216E #6E4F21 #216E4F
tetradic
#4F216E #6E2821 #406E21 #21666E
square
#4F216E #6E2821 #406E21 #21666E
split-complementary
#4F216E #666E21 #216E28
monochromatic
#110718 #2D133F #4F216E #712F9D #9243C7

Accessibility & contrast

On white

11.83
#4F216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4F216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F216E
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F216E#FFFFFF#000000##FFFFFF
##4F216E1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#12386C
Tritanopia (blue-blind)
#4A3144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f216e;
/* rgb */ color: rgb(79, 33, 110);
/* oklch */ color: oklch(35.4% 0.130 308.6);
Tailwind
colors: {
  custom: {
    50: '#836098',
    500: '#4f216e',
    950: '#000000',
  },
}
SCSS
$custom: #4f216e;
$custom-light: #836098;
$custom-dark: #000000;
JSON
{
  "hex": "#4f216e",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 275.844,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35422,
    "c": 0.13014,
    "h": 308.6
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#4F216E
secondary
#6DA249
accent
#DD4B86
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F216E

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

Preview Lab → · Contrast checker → · Palette generator →

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