#45116F#45116F

#45116F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.148 H 303.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#45116F
RGBrgb(69, 17, 111)
HSLhsl(273, 73%, 25%)
HSVhsv(273, 85%, 44%)
CMYKcmyk(37.8%, 84.7%, 0%, 56.5%)
CIE-LABlab(19.28, 41.59, -43.12)
CIE-LCHlch(19.28, 59.91, 313.97°)
OKLaboklab(32.32% 0.0824 -0.123)
OKLCHoklch(32.32% 0.148 303.8)
XYZxyz(5.5233, 2.8138, 15.2880)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45116F #3B6F11
analogous
#16116F #45116F #6F116A
triadic
#45116F #6F4511 #116F45
tetradic
#45116F #6F1611 #3B6F11 #116A6F
square
#45116F #6F1611 #3B6F11 #116A6F
split-complementary
#45116F #6A6F11 #116F16
monochromatic
#10041B #24093A #45116F #6619A4 #8721D9

Accessibility & contrast

On white

13.44
#45116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#45116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45116F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45116F#FFFFFF#000000##FFFFFF
##45116F1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#3C2B41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #45116f;
/* rgb */ color: rgb(69, 17, 111);
/* oklch */ color: oklch(32.3% 0.148 303.8);
Tailwind
colors: {
  custom: {
    50: '#7e5799',
    500: '#45116f',
    950: '#000000',
  },
}
SCSS
$custom: #45116f;
$custom-light: #7e5799;
$custom-dark: #000000;
JSON
{
  "hex": "#45116f",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 273.191,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3232,
    "c": 0.14808,
    "h": 303.8
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#45116F
secondary
#68A635
accent
#F0388A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #45116F

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

Preview Lab → · Contrast checker → · Palette generator →

#45116F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva