#45116E#45116E

#45116E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.147 H 304.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#45116E
RGBrgb(69, 17, 110)
HSLhsl(274, 73%, 25%)
HSVhsv(274, 85%, 43%)
CMYKcmyk(37.3%, 84.5%, 0%, 56.9%)
CIE-LABlab(19.19, 41.34, -42.62)
CIE-LCHlch(19.19, 59.38, 314.13°)
OKLaboklab(32.23% 0.0827 -0.1216)
OKLCHoklch(32.23% 0.147 304.2)
XYZxyz(5.4685, 2.7919, 14.9996)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45116E #3A6E11
analogous
#16116E #45116E #6E1169
triadic
#45116E #6E4511 #116E45
tetradic
#45116E #6E1611 #3A6E11 #11696E
square
#45116E #6E1611 #3A6E11 #11696E
split-complementary
#45116E #696E11 #116E16
monochromatic
#11041B #240939 #45116E #6619A3 #8721D8

Accessibility & contrast

On white

13.48
#45116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45116E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45116E#FFFFFF#000000##FFFFFF
##45116E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#3D2A40
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #45116e;
/* rgb */ color: rgb(69, 17, 110);
/* oklch */ color: oklch(32.2% 0.147 304.2);
Tailwind
colors: {
  custom: {
    50: '#7e5798',
    500: '#45116e',
    950: '#000000',
  },
}
SCSS
$custom: #45116e;
$custom-light: #7e5798;
$custom-dark: #000000;
JSON
{
  "hex": "#45116e",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 273.548,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32228,
    "c": 0.14705,
    "h": 304.2
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#45116E
secondary
#67A535
accent
#F03889
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #45116E

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

Preview Lab → · Contrast checker → · Palette generator →

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