#45116C#45116C

#45116C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.145 H 305.1°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#45116C
RGBrgb(69, 17, 108)
HSLhsl(274, 73%, 25%)
HSVhsv(274, 84%, 42%)
CMYKcmyk(36.1%, 84.3%, 0%, 57.6%)
CIE-LABlab(19.01, 40.85, -41.62)
CIE-LCHlch(19.01, 58.32, 314.47°)
OKLaboklab(32.05% 0.0833 -0.1186)
OKLCHoklch(32.05% 0.145 305.1)
XYZxyz(5.3609, 2.7488, 14.4326)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45116C #386C11
analogous
#18116C #45116C #6C1166
triadic
#45116C #6C4511 #116C45
tetradic
#45116C #6C1811 #386C11 #11666C
square
#45116C #6C1811 #386C11 #11666C
split-complementary
#45116C #666C11 #116C18
monochromatic
#11041A #230937 #45116C #6719A1 #8922D6

Accessibility & contrast

On white

13.55
#45116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#45116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45116C
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45116C#FFFFFF#000000##FFFFFF
##45116C1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#3E2A3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #45116c;
/* rgb */ color: rgb(69, 17, 108);
/* oklch */ color: oklch(32.0% 0.145 305.1);
Tailwind
colors: {
  custom: {
    50: '#7d5797',
    500: '#45116c',
    950: '#000000',
  },
}
SCSS
$custom: #45116c;
$custom-light: #7d5797;
$custom-dark: #000000;
JSON
{
  "hex": "#45116c",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 274.286,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32045,
    "c": 0.14496,
    "h": 305.1
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#45116C
secondary
#65A435
accent
#EF3887
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #45116C

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

Preview Lab → · Contrast checker → · Palette generator →

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