#46217D#46217D

#46217D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.146 H 296.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#46217D
RGBrgb(70, 33, 125)
HSLhsl(264, 58%, 31%)
HSVhsv(264, 74%, 49%)
CMYKcmyk(44%, 73.6%, 0%, 51%)
CIE-LABlab(23.24, 38.14, -45.64)
CIE-LCHlch(23.24, 59.47, 309.88°)
OKLaboklab(35.52% 0.0653 -0.1305)
OKLCHoklch(35.52% 0.146 296.6)
XYZxyz(6.7703, 3.8703, 19.7884)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46217D #587D21
analogous
#212A7D #46217D #74217D
triadic
#46217D #7D4621 #217D46
tetradic
#46217D #7D212A #587D21 #217D74
square
#46217D #7D212A #587D21 #217D74
split-complementary
#46217D #7D7421 #2A7D21
monochromatic
#10071C #2B144D #46217D #612EAD #7F49CF

Accessibility & contrast

On white

11.84
#46217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#46217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46217D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46217D#FFFFFF#000000##FFFFFF
##46217D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#38384C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46217d;
/* rgb */ color: rgb(70, 33, 125);
/* oklch */ color: oklch(35.5% 0.146 296.6);
Tailwind
colors: {
  custom: {
    50: '#7f60a3',
    500: '#46217d',
    950: '#000000',
  },
}
SCSS
$custom: #46217d;
$custom-light: #7f60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46217d",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 264.13,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35519,
    "c": 0.14593,
    "h": 296.6
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#46217D
secondary
#87B04A
accent
#E146A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46217D

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

Preview Lab → · Contrast checker → · Palette generator →

#46217D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva