#4B216E#4B216E

#4B216E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.129 H 305.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4B216E
RGBrgb(75, 33, 110)
HSLhsl(273, 54%, 28%)
HSVhsv(273, 70%, 43%)
CMYKcmyk(31.8%, 70%, 0%, 56.9%)
CIE-LABlab(22.69, 35.16, -36.90)
CIE-LCHlch(22.69, 50.97, 313.62°)
OKLaboklab(34.89% 0.0753 -0.1046)
OKLCHoklch(34.89% 0.129 305.8)
XYZxyz(6.2594, 3.7094, 15.1351)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B216E #446E21
analogous
#24216E #4B216E #6E216A
triadic
#4B216E #6E4B21 #216E4B
tetradic
#4B216E #6E2421 #446E21 #216A6E
square
#4B216E #6E2421 #446E21 #216A6E
split-complementary
#4B216E #6A6E21 #216E24
monochromatic
#100718 #2B133F #4B216E #6B2F9D #8B43C7

Accessibility & contrast

On white

12.06
#4B216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4B216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B216E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B216E#FFFFFF#000000##FFFFFF
##4B216E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#0B366C
Tritanopia (blue-blind)
#453244
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b216e;
/* rgb */ color: rgb(75, 33, 110);
/* oklch */ color: oklch(34.9% 0.129 305.8);
Tailwind
colors: {
  custom: {
    50: '#816098',
    500: '#4b216e',
    950: '#000000',
  },
}
SCSS
$custom: #4b216e;
$custom-light: #816098;
$custom-dark: #000000;
JSON
{
  "hex": "#4b216e",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 272.727,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3489,
    "c": 0.12893,
    "h": 305.8
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#4B216E
secondary
#71A249
accent
#DD4B8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B216E

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

Preview Lab → · Contrast checker → · Palette generator →

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