#45166D#45166D

#45166D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.141 H 304.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#45166D
RGBrgb(69, 22, 109)
HSLhsl(272, 66%, 26%)
HSVhsv(272, 80%, 43%)
CMYKcmyk(36.7%, 79.8%, 0%, 57.3%)
CIE-LABlab(19.82, 39.03, -40.95)
CIE-LCHlch(19.82, 56.57, 313.62°)
OKLaboklab(32.64% 0.0786 -0.1167)
OKLCHoklch(32.64% 0.141 304)
XYZxyz(5.5008, 2.9432, 14.7433)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45166D #3E6D16
analogous
#1A166D #45166D #6D1669
triadic
#45166D #6D4516 #166D45
tetradic
#45166D #6D1A16 #3E6D16 #16696D
square
#45166D #6D1A16 #3E6D16 #16696D
split-complementary
#45166D #696D16 #166D1A
monochromatic
#100519 #250C3A #45166D #6520A0 #852BD3

Accessibility & contrast

On white

13.22
#45166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#45166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45166D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45166D#FFFFFF#000000##FFFFFF
##45166D1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#3D2C41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #45166d;
/* rgb */ color: rgb(69, 22, 109);
/* oklch */ color: oklch(32.6% 0.141 304.0);
Tailwind
colors: {
  custom: {
    50: '#7d5998',
    500: '#45166d',
    950: '#000000',
  },
}
SCSS
$custom: #45166d;
$custom-light: #7d5998;
$custom-dark: #000000;
JSON
{
  "hex": "#45166d",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 272.414,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32637,
    "c": 0.14068,
    "h": 304
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#45166D
secondary
#6BA33C
accent
#E93E8D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #45166D

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

Preview Lab → · Contrast checker → · Palette generator →

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