#4B216C#4B216C

#4B216C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.127 H 306.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#4B216C
RGBrgb(75, 33, 108)
HSLhsl(274, 53%, 28%)
HSVhsv(274, 69%, 42%)
CMYKcmyk(30.6%, 69.4%, 0%, 57.6%)
CIE-LABlab(22.54, 34.65, -35.85)
CIE-LCHlch(22.54, 49.86, 314.02°)
OKLaboklab(34.73% 0.0755 -0.1015)
OKLCHoklch(34.73% 0.127 306.6)
XYZxyz(6.1517, 3.6663, 14.5680)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B216C #426C21
analogous
#26216C #4B216C #6C2167
triadic
#4B216C #6C4B21 #216C4B
tetradic
#4B216C #6C2621 #426C21 #21676C
square
#4B216C #6C2621 #426C21 #21676C
split-complementary
#4B216C #676C21 #216C26
monochromatic
#100717 #2A133D #4B216C #6C2F9B #8C42C5

Accessibility & contrast

On white

12.12
#4B216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4B216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B216C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B216C#FFFFFF#000000##FFFFFF
##4B216C1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#0F366A
Tritanopia (blue-blind)
#453143
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b216c;
/* rgb */ color: rgb(75, 33, 108);
/* oklch */ color: oklch(34.7% 0.127 306.6);
Tailwind
colors: {
  custom: {
    50: '#805f97',
    500: '#4b216c',
    950: '#000000',
  },
}
SCSS
$custom: #4b216c;
$custom-light: #805f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4b216c",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 273.6,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.12656,
    "h": 306.6
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#4B216C
secondary
#6FA049
accent
#DD4B8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4B216C

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

Preview Lab → · Contrast checker → · Palette generator →

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