#46165C#46165C

#46165C is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.122 H 312.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#46165C
RGBrgb(70, 22, 92)
HSLhsl(281, 61%, 22%)
HSVhsv(281, 76%, 36%)
CMYKcmyk(23.9%, 76.1%, 0%, 63.9%)
CIE-LABlab(18.58, 35.05, -31.76)
CIE-LCHlch(18.58, 47.30, 317.82°)
OKLaboklab(31.36% 0.0834 -0.0896)
OKLCHoklch(31.36% 0.122 312.9)
XYZxyz(4.7441, 2.6488, 10.3845)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46165C #2C5C16
analogous
#23165C #46165C #5C164F
triadic
#46165C #5C4616 #165C46
tetradic
#46165C #5C2316 #2C5C16 #164F5C
square
#46165C #5C2316 #2C5C16 #164F5C
split-complementary
#46165C #4F5C16 #165C23
monochromatic
#130619 #200A2B #46165C #6C228D #912EBF

Accessibility & contrast

On white

13.73
#46165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#46165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46165C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46165C#FFFFFF#000000##FFFFFF
##46165C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#102E5A
Tritanopia (blue-blind)
#442537
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #46165c;
/* rgb */ color: rgb(70, 22, 92);
/* oklch */ color: oklch(31.4% 0.122 312.9);
Tailwind
colors: {
  custom: {
    50: '#7c588b',
    500: '#46165c',
    950: '#000000',
  },
}
SCSS
$custom: #46165c;
$custom-light: #7c588b;
$custom-dark: #000000;
JSON
{
  "hex": "#46165c",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 281.143,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31357,
    "c": 0.12244,
    "h": 312.9
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#46165C
secondary
#56933B
accent
#E54376
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #46165C

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

Preview Lab → · Contrast checker → · Palette generator →

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