#4B216F#4B216F

#4B216F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.130 H 305.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#4B216F
RGBrgb(75, 33, 111)
HSLhsl(272, 54%, 28%)
HSVhsv(272, 70%, 44%)
CMYKcmyk(32.4%, 70.3%, 0%, 56.5%)
CIE-LABlab(22.76, 35.42, -37.42)
CIE-LCHlch(22.76, 51.53, 313.43°)
OKLaboklab(34.97% 0.0752 -0.1062)
OKLCHoklch(34.97% 0.13 305.3)
XYZxyz(6.3141, 3.7313, 15.4234)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B216F #456F21
analogous
#24216F #4B216F #6F216C
triadic
#4B216F #6F4B21 #216F4B
tetradic
#4B216F #6F2421 #456F21 #216C6F
square
#4B216F #6F2421 #456F21 #216C6F
split-complementary
#4B216F #6C6F21 #216F24
monochromatic
#100718 #2B1340 #4B216F #6B2F9E #8A43C7

Accessibility & contrast

On white

12.03
#4B216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4B216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B216F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B216F#FFFFFF#000000##FFFFFF
##4B216F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#09366D
Tritanopia (blue-blind)
#453245
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b216f;
/* rgb */ color: rgb(75, 33, 111);
/* oklch */ color: oklch(35.0% 0.130 305.3);
Tailwind
colors: {
  custom: {
    50: '#816099',
    500: '#4b216f',
    950: '#000000',
  },
}
SCSS
$custom: #4b216f;
$custom-light: #816099;
$custom-dark: #000000;
JSON
{
  "hex": "#4b216f",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 272.308,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34968,
    "c": 0.13011,
    "h": 305.3
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#4B216F
secondary
#72A349
accent
#DE4A8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B216F

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

Preview Lab → · Contrast checker → · Palette generator →

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