#46216B#46216B

#46216B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.0% C 0.124 H 303.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#46216B
RGBrgb(70, 33, 107)
HSLhsl(270, 53%, 27%)
HSVhsv(270, 69%, 42%)
CMYKcmyk(34.6%, 69.2%, 0%, 58%)
CIE-LABlab(21.77, 33.18, -36.48)
CIE-LCHlch(21.77, 49.31, 312.29°)
OKLaboklab(34.01% 0.0682 -0.1036)
OKLCHoklch(34.01% 0.124 303.4)
XYZxyz(5.7229, 3.4513, 14.2717)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46216B #466B21
analogous
#21216B #46216B #6B216B
triadic
#46216B #6B4621 #216B46
tetradic
#46216B #6B2121 #466B21 #216B6B
square
#46216B #6B2121 #466B21 #216B6B
split-complementary
#46216B #6B6B21 #216B21
monochromatic
#0F0717 #27133C #46216B #652F9A #8342C5

Accessibility & contrast

On white

12.42
#46216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#46216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46216B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46216B#FFFFFF#000000##FFFFFF
##46216B1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#073469
Tritanopia (blue-blind)
#3F3143
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46216b;
/* rgb */ color: rgb(70, 33, 107);
/* oklch */ color: oklch(34.0% 0.124 303.4);
Tailwind
colors: {
  custom: {
    50: '#7d5f96',
    500: '#46216b',
    950: '#000000',
  },
}
SCSS
$custom: #46216b;
$custom-light: #7d5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#46216b",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 270,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34006,
    "c": 0.124,
    "h": 303.4
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#46216B
secondary
#749F49
accent
#DC4C94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46216B

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

Preview Lab → · Contrast checker → · Palette generator →

#46216B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva