#45176A#45176A

#45176A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.136 H 305.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#45176A
RGBrgb(69, 23, 106)
HSLhsl(273, 64%, 25%)
HSVhsv(273, 78%, 42%)
CMYKcmyk(34.9%, 78.3%, 0%, 58.4%)
CIE-LABlab(19.71, 37.82, -39.16)
CIE-LCHlch(19.71, 54.44, 314.00°)
OKLaboklab(32.49% 0.0783 -0.1114)
OKLCHoklch(32.49% 0.136 305.1)
XYZxyz(5.3616, 2.9186, 13.9138)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45176A #3C6A17
analogous
#1B176A #45176A #6A1765
triadic
#45176A #6A4517 #176A45
tetradic
#45176A #6A1B17 #3C6A17 #17656A
square
#45176A #6A1B17 #3C6A17 #17656A
split-complementary
#45176A #656A17 #176A1B
monochromatic
#100519 #240C38 #45176A #66229C #862DCF

Accessibility & contrast

On white

13.26
#45176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#45176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45176A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45176A#FFFFFF#000000##FFFFFF
##45176A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45176a;
/* rgb */ color: rgb(69, 23, 106);
/* oklch */ color: oklch(32.5% 0.136 305.1);
Tailwind
colors: {
  custom: {
    50: '#7d5995',
    500: '#45176a',
    950: '#000000',
  },
}
SCSS
$custom: #45176a;
$custom-light: #7d5995;
$custom-dark: #000000;
JSON
{
  "hex": "#45176a",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 273.253,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32486,
    "c": 0.13619,
    "h": 305.1
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#45176A
secondary
#69A03D
accent
#E7408B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #45176A

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

Preview Lab → · Contrast checker → · Palette generator →

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