#46176A#46176A

#46176A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.136 H 305.8°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#46176A
RGBrgb(70, 23, 106)
HSLhsl(274, 64%, 25%)
HSVhsv(274, 78%, 42%)
CMYKcmyk(34%, 78.3%, 0%, 58.4%)
CIE-LABlab(19.86, 38.02, -38.91)
CIE-LCHlch(19.86, 54.40, 314.34°)
OKLaboklab(32.62% 0.0798 -0.1107)
OKLCHoklch(32.62% 0.136 305.8)
XYZxyz(5.4331, 2.9555, 13.9171)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46176A #3B6A17
analogous
#1D176A #46176A #6A1764
triadic
#46176A #6A4617 #176A46
tetradic
#46176A #6A1D17 #3B6A17 #17646A
square
#46176A #6A1D17 #3B6A17 #17646A
split-complementary
#46176A #646A17 #176A1D
monochromatic
#110519 #250C38 #46176A #67229C #882DCF

Accessibility & contrast

On white

13.20
#46176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#46176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46176A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46176A#FFFFFF#000000##FFFFFF
##46176A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#3F2B3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46176a;
/* rgb */ color: rgb(70, 23, 106);
/* oklch */ color: oklch(32.6% 0.136 305.8);
Tailwind
colors: {
  custom: {
    50: '#7d5995',
    500: '#46176a',
    950: '#000000',
  },
}
SCSS
$custom: #46176a;
$custom-light: #7d5995;
$custom-dark: #000000;
JSON
{
  "hex": "#46176a",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 273.976,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32624,
    "c": 0.13644,
    "h": 305.8
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#46176A
secondary
#68A03D
accent
#E74089
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46176A

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

Preview Lab → · Contrast checker → · Palette generator →

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