#4F216C#4F216C

#4F216C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.128 H 309.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4F216C
RGBrgb(79, 33, 108)
HSLhsl(277, 53%, 28%)
HSVhsv(277, 69%, 42%)
CMYKcmyk(26.9%, 69.4%, 0%, 57.6%)
CIE-LABlab(23.11, 35.62, -34.90)
CIE-LCHlch(23.11, 49.87, 315.59°)
OKLaboklab(35.27% 0.0814 -0.0986)
OKLCHoklch(35.27% 0.128 309.5)
XYZxyz(6.4745, 3.8328, 14.5832)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F216C #3E6C21
analogous
#2A216C #4F216C #6C2163
triadic
#4F216C #6C4F21 #216C4F
tetradic
#4F216C #6C2A21 #3E6C21 #21636C
square
#4F216C #6C2A21 #3E6C21 #21636C
split-complementary
#4F216C #636C21 #216C2A
monochromatic
#110717 #2D133D #4F216C #712F9B #9342C5

Accessibility & contrast

On white

11.89
#4F216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F216C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F216C#FFFFFF#000000##FFFFFF
##4F216C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#15386A
Tritanopia (blue-blind)
#4B3143
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f216c;
/* rgb */ color: rgb(79, 33, 108);
/* oklch */ color: oklch(35.3% 0.128 309.5);
Tailwind
colors: {
  custom: {
    50: '#836097',
    500: '#4f216c',
    950: '#000000',
  },
}
SCSS
$custom: #4f216c;
$custom-light: #836097;
$custom-dark: #000000;
JSON
{
  "hex": "#4f216c",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 276.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3527,
    "c": 0.12784,
    "h": 309.5
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#4F216C
secondary
#6BA049
accent
#DD4B83
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4F216C

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

Preview Lab → · Contrast checker → · Palette generator →

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