#46217E#46217E

#46217E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.147 H 296.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#46217E
RGBrgb(70, 33, 126)
HSLhsl(264, 58%, 31%)
HSVhsv(264, 74%, 49%)
CMYKcmyk(44.4%, 73.8%, 0%, 50.6%)
CIE-LABlab(23.32, 38.42, -46.13)
CIE-LCHlch(23.32, 60.03, 309.79°)
OKLaboklab(35.61% 0.0651 -0.1319)
OKLCHoklch(35.61% 0.147 296.3)
XYZxyz(6.8345, 3.8960, 20.1265)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46217E #597E21
analogous
#212A7E #46217E #74217E
triadic
#46217E #7E4621 #217E46
tetradic
#46217E #7E212A #597E21 #217E74
square
#46217E #7E212A #597E21 #217E74
split-complementary
#46217E #7E7421 #2A7E21
monochromatic
#10081D #2B144E #46217E #612EAE #7F4AD0

Accessibility & contrast

On white

11.80
#46217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#46217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46217E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46217E#FFFFFF#000000##FFFFFF
##46217E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#37384D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46217e;
/* rgb */ color: rgb(70, 33, 126);
/* oklch */ color: oklch(35.6% 0.147 296.3);
Tailwind
colors: {
  custom: {
    50: '#7f60a4',
    500: '#46217e',
    950: '#000000',
  },
}
SCSS
$custom: #46217e;
$custom-light: #7f60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46217e",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 263.871,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35607,
    "c": 0.14713,
    "h": 296.3
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#46217E
secondary
#88B14A
accent
#E246A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46217E

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

Preview Lab → · Contrast checker → · Palette generator →

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