#46177E#46177E

#46177E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.158 H 298.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#46177E
RGBrgb(70, 23, 126)
HSLhsl(267, 69%, 29%)
HSVhsv(267, 82%, 49%)
CMYKcmyk(44.4%, 81.7%, 0%, 50.6%)
CIE-LABlab(21.66, 43.17, -48.85)
CIE-LCHlch(21.66, 65.19, 311.46°)
OKLaboklab(34.44% 0.0743 -0.1399)
OKLCHoklch(34.44% 0.158 298)
XYZxyz(6.5971, 3.4211, 20.0474)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46177E #4F7E17
analogous
#171B7E #46177E #7A177E
triadic
#46177E #7E4617 #177E46
tetradic
#46177E #7E171B #4F7E17 #177E7A
square
#46177E #7E171B #4F7E17 #177E7A
split-complementary
#46177E #7E7A17 #1B7E17
monochromatic
#0E051A #290E4A #46177E #6320B2 #8035DA

Accessibility & contrast

On white

12.47
#46177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#46177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46177E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46177E#FFFFFF#000000##FFFFFF
##46177E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#38344B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46177e;
/* rgb */ color: rgb(70, 23, 126);
/* oklch */ color: oklch(34.4% 0.158 298.0);
Tailwind
colors: {
  custom: {
    50: '#805aa4',
    500: '#46177e',
    950: '#000000',
  },
}
SCSS
$custom: #46177e;
$custom-light: #805aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#46177e",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 267.379,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34435,
    "c": 0.1584,
    "h": 298
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#46177E
secondary
#7DB33E
accent
#EC3C9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46177E

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

Preview Lab → · Contrast checker → · Palette generator →

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