#46217C#46217C

#46217C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.145 H 296.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#46217C
RGBrgb(70, 33, 124)
HSLhsl(264, 58%, 31%)
HSVhsv(264, 73%, 49%)
CMYKcmyk(43.5%, 73.4%, 0%, 51.4%)
CIE-LABlab(23.15, 37.86, -45.14)
CIE-LCHlch(23.15, 58.91, 309.98°)
OKLaboklab(35.43% 0.0655 -0.129)
OKLCHoklch(35.43% 0.145 296.9)
XYZxyz(6.7068, 3.8449, 19.4537)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46217C #577C21
analogous
#21297C #46217C #73217C
triadic
#46217C #7C4621 #217C46
tetradic
#46217C #7C2129 #577C21 #217C73
square
#46217C #7C2129 #577C21 #217C73
split-complementary
#46217C #7C7321 #297C21
monochromatic
#0F071B #2B144C #46217C #612EAC #7F49CF

Accessibility & contrast

On white

11.87
#46217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46217C
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46217C#FFFFFF#000000##FFFFFF
##46217C1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#38384C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46217c;
/* rgb */ color: rgb(70, 33, 124);
/* oklch */ color: oklch(35.4% 0.145 296.9);
Tailwind
colors: {
  custom: {
    50: '#7f60a3',
    500: '#46217c',
    950: '#000000',
  },
}
SCSS
$custom: #46217c;
$custom-light: #7f60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46217c",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 264.396,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.14472,
    "h": 296.9
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#46217C
secondary
#86AF4A
accent
#E147A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46217C

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

Preview Lab → · Contrast checker → · Palette generator →

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