#46217A#46217A

#46217A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.142 H 297.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#46217A
RGBrgb(70, 33, 122)
HSLhsl(265, 57%, 30%)
HSVhsv(265, 73%, 48%)
CMYKcmyk(42.6%, 73%, 0%, 52.2%)
CIE-LABlab(22.98, 37.30, -44.15)
CIE-LCHlch(22.98, 57.80, 310.19°)
OKLaboklab(35.26% 0.0659 -0.1261)
OKLCHoklch(35.26% 0.142 297.6)
XYZxyz(6.5816, 3.7948, 18.7943)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46217A #557A21
analogous
#21287A #46217A #72217A
triadic
#46217A #7A4621 #217A46
tetradic
#46217A #7A2128 #557A21 #217A72
square
#46217A #7A2128 #557A21 #217A72
split-complementary
#46217A #7A7221 #287A21
monochromatic
#0F071A #2A144A #46217A #622EAA #7F48CD

Accessibility & contrast

On white

11.94
#46217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#46217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46217A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46217A#FFFFFF#000000##FFFFFF
##46217A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#39374B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46217a;
/* rgb */ color: rgb(70, 33, 122);
/* oklch */ color: oklch(35.3% 0.142 297.6);
Tailwind
colors: {
  custom: {
    50: '#7f60a1',
    500: '#46217a',
    950: '#000000',
  },
}
SCSS
$custom: #46217a;
$custom-light: #7f60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46217a",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 264.944,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35256,
    "c": 0.14231,
    "h": 297.6
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#46217A
secondary
#84AD4A
accent
#E147A1
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46217A

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

Preview Lab → · Contrast checker → · Palette generator →

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