#46177B#46177B

#46177B is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.155 H 299.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#46177B
RGBrgb(70, 23, 123)
HSLhsl(268, 68%, 29%)
HSVhsv(268, 81%, 48%)
CMYKcmyk(43.1%, 81.3%, 0%, 51.8%)
CIE-LABlab(21.38, 42.38, -47.41)
CIE-LCHlch(21.38, 63.59, 311.80°)
OKLaboklab(34.15% 0.0753 -0.1356)
OKLCHoklch(34.15% 0.155 299)
XYZxyz(6.4064, 3.3449, 19.0431)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46177B #4C7B17
analogous
#171A7B #46177B #78177B
triadic
#46177B #7B4617 #177B46
tetradic
#46177B #7B171A #4C7B17 #177B78
square
#46177B #7B171A #4C7B17 #177B78
split-complementary
#46177B #7B7817 #1A7B17
monochromatic
#0F051A #290D47 #46177B #6321AF #8133D9

Accessibility & contrast

On white

12.58
#46177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#46177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46177B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46177B#FFFFFF#000000##FFFFFF
##46177B1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#393249
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46177b;
/* rgb */ color: rgb(70, 23, 123);
/* oklch */ color: oklch(34.2% 0.155 299.0);
Tailwind
colors: {
  custom: {
    50: '#7f5aa2',
    500: '#46177b',
    950: '#000000',
  },
}
SCSS
$custom: #46177b;
$custom-light: #7f5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#46177b",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 268.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.15511,
    "h": 299
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#46177B
secondary
#7AB03E
accent
#EB3C99
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46177B

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

Preview Lab → · Contrast checker → · Palette generator →

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