#46216F#46216F

#46216F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.129 H 301.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#46216F
RGBrgb(70, 33, 111)
HSLhsl(268, 54%, 28%)
HSVhsv(268, 70%, 44%)
CMYKcmyk(36.9%, 70.3%, 0%, 56.5%)
CIE-LABlab(22.08, 34.26, -38.56)
CIE-LCHlch(22.08, 51.59, 311.62°)
OKLaboklab(34.33% 0.0677 -0.1097)
OKLCHoklch(34.33% 0.129 301.7)
XYZxyz(5.9382, 3.5375, 15.4058)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46216F #4A6F21
analogous
#21236F #46216F #6D216F
triadic
#46216F #6F4621 #216F46
tetradic
#46216F #6F2123 #4A6F21 #216F6D
square
#46216F #6F2123 #4A6F21 #216F6D
split-complementary
#46216F #6F6D21 #236F21
monochromatic
#0F0718 #281340 #46216F #642F9E #8243C7

Accessibility & contrast

On white

12.30
#46216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#46216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46216F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46216F#FFFFFF#000000##FFFFFF
##46216F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#3D3345
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46216f;
/* rgb */ color: rgb(70, 33, 111);
/* oklch */ color: oklch(34.3% 0.129 301.7);
Tailwind
colors: {
  custom: {
    50: '#7d5f99',
    500: '#46216f',
    950: '#000000',
  },
}
SCSS
$custom: #46216f;
$custom-light: #7d5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#46216f",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 268.462,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34328,
    "c": 0.12891,
    "h": 301.7
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#46216F
secondary
#78A349
accent
#DE4A98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46216F

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

Preview Lab → · Contrast checker → · Palette generator →

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