#46177A#46177A

#46177A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.154 H 299.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#46177A
RGBrgb(70, 23, 122)
HSLhsl(268, 68%, 28%)
HSVhsv(268, 81%, 48%)
CMYKcmyk(42.6%, 81.1%, 0%, 52.2%)
CIE-LABlab(21.28, 42.12, -46.92)
CIE-LCHlch(21.28, 63.06, 311.92°)
OKLaboklab(34.06% 0.0756 -0.1342)
OKLCHoklch(34.06% 0.154 299.4)
XYZxyz(6.3441, 3.3199, 18.7151)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46177A #4B7A17
analogous
#17197A #46177A #77177A
triadic
#46177A #7A4617 #177A46
tetradic
#46177A #7A1719 #4B7A17 #177A77
square
#46177A #7A1719 #4B7A17 #177A77
split-complementary
#46177A #7A7717 #197A17
monochromatic
#0F051A #280D47 #46177A #6421AD #8233D9

Accessibility & contrast

On white

12.62
#46177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#46177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46177A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46177A#FFFFFF#000000##FFFFFF
##46177A1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#393248
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46177a;
/* rgb */ color: rgb(70, 23, 122);
/* oklch */ color: oklch(34.1% 0.154 299.4);
Tailwind
colors: {
  custom: {
    50: '#7f5aa1',
    500: '#46177a',
    950: '#000000',
  },
}
SCSS
$custom: #46177a;
$custom-light: #7f5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#46177a",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 268.485,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34058,
    "c": 0.15402,
    "h": 299.4
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#46177A
secondary
#79AF3E
accent
#EB3D98
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46177A

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

Preview Lab → · Contrast checker → · Palette generator →

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