#45106A#45106A

#45106A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.144 H 306.1°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#45106A
RGBrgb(69, 16, 106)
HSLhsl(275, 74%, 24%)
HSVhsv(275, 85%, 42%)
CMYKcmyk(34.9%, 84.9%, 0%, 58.4%)
CIE-LABlab(18.70, 40.74, -40.82)
CIE-LCHlch(18.70, 57.67, 314.95°)
OKLaboklab(31.77% 0.0848 -0.1162)
OKLCHoklch(31.77% 0.144 306.1)
XYZxyz(5.2405, 2.6764, 13.8734)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45106A #356A10
analogous
#18106A #45106A #6A1062
triadic
#45106A #6A4510 #106A45
tetradic
#45106A #6A1810 #356A10 #10626A
square
#45106A #6A1810 #356A10 #10626A
split-complementary
#45106A #626A10 #106A18
monochromatic
#11041B #220835 #45106A #68189F #8A20D4

Accessibility & contrast

On white

13.68
#45106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#45106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45106A
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45106A#FFFFFF#000000##FFFFFF
##45106A1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#3E283E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45106a;
/* rgb */ color: rgb(69, 16, 106);
/* oklch */ color: oklch(31.8% 0.144 306.1);
Tailwind
colors: {
  custom: {
    50: '#7d5695',
    500: '#45106a',
    950: '#000000',
  },
}
SCSS
$custom: #45106a;
$custom-light: #7d5695;
$custom-dark: #000000;
JSON
{
  "hex": "#45106a",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 275.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31773,
    "c": 0.14388,
    "h": 306.1
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#45106A
secondary
#61A234
accent
#F03783
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #45106A

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

Preview Lab → · Contrast checker → · Palette generator →

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