#46217F#46217F

#46217F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.148 H 295.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#46217F
RGBrgb(70, 33, 127)
HSLhsl(264, 59%, 31%)
HSVhsv(264, 74%, 50%)
CMYKcmyk(44.9%, 74%, 0%, 50.2%)
CIE-LABlab(23.41, 38.70, -46.62)
CIE-LCHlch(23.41, 60.59, 309.69°)
OKLaboklab(35.7% 0.0649 -0.1334)
OKLCHoklch(35.7% 0.148 295.9)
XYZxyz(6.8994, 3.9220, 20.4681)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46217F #5A7F21
analogous
#212B7F #46217F #75217F
triadic
#46217F #7F4621 #217F46
tetradic
#46217F #7F212B #5A7F21 #217F75
square
#46217F #7F212B #5A7F21 #217F75
split-complementary
#46217F #7F7521 #2B7F21
monochromatic
#10081E #2B144E #46217F #612EB0 #7F4AD0

Accessibility & contrast

On white

11.77
#46217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46217F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46217F#FFFFFF#000000##FFFFFF
##46217F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#37394E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46217f;
/* rgb */ color: rgb(70, 33, 127);
/* oklch */ color: oklch(35.7% 0.148 295.9);
Tailwind
colors: {
  custom: {
    50: '#7f60a5',
    500: '#46217f',
    950: '#000000',
  },
}
SCSS
$custom: #46217f;
$custom-light: #7f60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46217f",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 263.617,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35696,
    "c": 0.14833,
    "h": 295.9
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#46217F
secondary
#89B24A
accent
#E246A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46217F

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

Preview Lab → · Contrast checker → · Palette generator →

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