#46177D#46177D

#46177D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.157 H 298.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#46177D
RGBrgb(70, 23, 125)
HSLhsl(268, 69%, 29%)
HSVhsv(268, 82%, 49%)
CMYKcmyk(44%, 81.6%, 0%, 51%)
CIE-LABlab(21.56, 42.91, -48.37)
CIE-LCHlch(21.56, 64.66, 311.57°)
OKLaboklab(34.34% 0.0747 -0.1385)
OKLCHoklch(34.34% 0.157 298.3)
XYZxyz(6.5329, 3.3954, 19.7093)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46177D #4E7D17
analogous
#171B7D #46177D #79177D
triadic
#46177D #7D4617 #177D46
tetradic
#46177D #7D171B #4E7D17 #177D79
square
#46177D #7D171B #4E7D17 #177D79
split-complementary
#46177D #7D7917 #1B7D17
monochromatic
#0E051A #290D49 #46177D #6321B1 #8135DA

Accessibility & contrast

On white

12.51
#46177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46177D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46177D#FFFFFF#000000##FFFFFF
##46177D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#38334A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46177d;
/* rgb */ color: rgb(70, 23, 125);
/* oklch */ color: oklch(34.3% 0.157 298.3);
Tailwind
colors: {
  custom: {
    50: '#805aa4',
    500: '#46177d',
    950: '#000000',
  },
}
SCSS
$custom: #46177d;
$custom-light: #805aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#46177d",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 267.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3434,
    "c": 0.15731,
    "h": 298.3
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#46177D
secondary
#7CB23E
accent
#EC3C9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46177D

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

Preview Lab → · Contrast checker → · Palette generator →

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