#45146A#45146A

#45146A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.140 H 305.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#45146A
RGBrgb(69, 20, 106)
HSLhsl(274, 68%, 25%)
HSVhsv(274, 81%, 42%)
CMYKcmyk(34.9%, 81.1%, 0%, 58.4%)
CIE-LABlab(19.25, 39.14, -39.92)
CIE-LCHlch(19.25, 55.91, 314.44°)
OKLaboklab(32.16% 0.0812 -0.1136)
OKLCHoklch(32.16% 0.14 305.6)
XYZxyz(5.3053, 2.8062, 13.8950)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45146A #396A14
analogous
#1A146A #45146A #6A1464
triadic
#45146A #6A4514 #146A45
tetradic
#45146A #6A1A14 #396A14 #14646A
square
#45146A #6A1A14 #396A14 #14646A
split-complementary
#45146A #646A14 #146A1A
monochromatic
#11051A #230A37 #45146A #671E9D #8827D1

Accessibility & contrast

On white

13.45
#45146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#45146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45146A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45146A#FFFFFF#000000##FFFFFF
##45146A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#3E2A3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #45146a;
/* rgb */ color: rgb(69, 20, 106);
/* oklch */ color: oklch(32.2% 0.140 305.6);
Tailwind
colors: {
  custom: {
    50: '#7d5895',
    500: '#45146a',
    950: '#000000',
  },
}
SCSS
$custom: #45146a;
$custom-light: #7d5895;
$custom-dark: #000000;
JSON
{
  "hex": "#45146a",
  "rgb": {
    "r": 69,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 274.186,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.13969,
    "h": 305.6
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#45146A
secondary
#66A139
accent
#EB3D88
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #45146A

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

Preview Lab → · Contrast checker → · Palette generator →

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