#45108D#45108D

#45108D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.180 H 293.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#45108D
RGBrgb(69, 16, 141)
HSLhsl(265, 80%, 31%)
HSVhsv(265, 89%, 55%)
CMYKcmyk(51.1%, 88.7%, 0%, 44.7%)
CIE-LABlab(22.16, 49.48, -57.48)
CIE-LCHlch(22.16, 75.84, 310.72°)
OKLaboklab(35.21% 0.0718 -0.1651)
OKLCHoklch(35.21% 0.18 293.5)
XYZxyz(7.4459, 3.5586, 25.4887)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45108D #588D10
analogous
#10198D #45108D #83108D
triadic
#45108D #8D4510 #108D45
tetradic
#45108D #8D1019 #588D10 #108D83
square
#45108D #8D1019 #588D10 #108D83
split-complementary
#45108D #8D8310 #198D10
monochromatic
#0F041F #2A0A56 #45108D #6016C4 #7E30E7

Accessibility & contrast

On white

12.27
#45108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#45108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45108D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45108D#FFFFFF#000000##FFFFFF
##45108D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#2D3852
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #45108d;
/* rgb */ color: rgb(69, 16, 141);
/* oklch */ color: oklch(35.2% 0.180 293.5);
Tailwind
colors: {
  custom: {
    50: '#8259af',
    500: '#45108d',
    950: '#000000',
  },
}
SCSS
$custom: #45108d;
$custom-light: #8259af;
$custom-dark: #000000;
JSON
{
  "hex": "#45108d",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 265.44,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35205,
    "c": 0.18,
    "h": 293.5
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#45108D
secondary
#87C237
accent
#F632A3
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #45108D

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

Preview Lab → · Contrast checker → · Palette generator →

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