#45106F#45106F

#45106F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.149 H 303.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#45106F
RGBrgb(69, 16, 111)
HSLhsl(273, 75%, 25%)
HSVhsv(273, 86%, 44%)
CMYKcmyk(37.8%, 85.6%, 0%, 56.5%)
CIE-LABlab(19.16, 41.96, -43.33)
CIE-LCHlch(19.16, 60.31, 314.08°)
OKLaboklab(32.23% 0.0832 -0.1236)
OKLCHoklch(32.23% 0.149 303.9)
XYZxyz(5.5081, 2.7835, 15.2829)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45106F #3A6F10
analogous
#16106F #45106F #6F1069
triadic
#45106F #6F4510 #106F45
tetradic
#45106F #6F1610 #3A6F10 #10696F
square
#45106F #6F1610 #3A6F10 #10696F
split-complementary
#45106F #696F10 #106F16
monochromatic
#11041B #24083A #45106F #6618A4 #881FDA

Accessibility & contrast

On white

13.49
#45106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45106F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45106F#FFFFFF#000000##FFFFFF
##45106F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#3C2A41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #45106f;
/* rgb */ color: rgb(69, 16, 111);
/* oklch */ color: oklch(32.2% 0.149 303.9);
Tailwind
colors: {
  custom: {
    50: '#7e5699',
    500: '#45106f',
    950: '#000000',
  },
}
SCSS
$custom: #45106f;
$custom-light: #7e5699;
$custom-dark: #000000;
JSON
{
  "hex": "#45106f",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 273.474,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.14902,
    "h": 303.9
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#45106F
secondary
#67A734
accent
#F13689
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #45106F

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

Preview Lab → · Contrast checker → · Palette generator →

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