#46176B#46176B

#46176B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.138 H 305.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#46176B
RGBrgb(70, 23, 107)
HSLhsl(274, 65%, 25%)
HSVhsv(274, 79%, 42%)
CMYKcmyk(34.6%, 78.5%, 0%, 58%)
CIE-LABlab(19.95, 38.27, -39.42)
CIE-LCHlch(19.95, 54.94, 314.15°)
OKLaboklab(32.71% 0.0796 -0.1122)
OKLCHoklch(32.71% 0.138 305.4)
XYZxyz(5.4854, 2.9765, 14.1926)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46176B #3C6B17
analogous
#1C176B #46176B #6B1766
triadic
#46176B #6B4617 #176B46
tetradic
#46176B #6B1C17 #3C6B17 #17666B
square
#46176B #6B1C17 #3C6B17 #17666B
split-complementary
#46176B #666B17 #176B1C
monochromatic
#100519 #250C39 #46176B #67229D #882DD0

Accessibility & contrast

On white

13.16
#46176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#46176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46176B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46176B#FFFFFF#000000##FFFFFF
##46176B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#3F2C40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46176b;
/* rgb */ color: rgb(70, 23, 107);
/* oklch */ color: oklch(32.7% 0.138 305.4);
Tailwind
colors: {
  custom: {
    50: '#7e5996',
    500: '#46176b',
    950: '#000000',
  },
}
SCSS
$custom: #46176b;
$custom-light: #7e5996;
$custom-dark: #000000;
JSON
{
  "hex": "#46176b",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 273.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3271,
    "c": 0.13755,
    "h": 305.4
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#46176B
secondary
#69A13D
accent
#E8408A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46176B

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

Preview Lab → · Contrast checker → · Palette generator →

#46176B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva