#45196A#45196A

#45196A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.134 H 304.7°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#45196A
RGBrgb(69, 25, 106)
HSLhsl(273, 62%, 26%)
HSVhsv(273, 76%, 42%)
CMYKcmyk(34.9%, 76.4%, 0%, 58.4%)
CIE-LABlab(20.05, 36.87, -38.62)
CIE-LCHlch(20.05, 53.39, 313.67°)
OKLaboklab(32.72% 0.0762 -0.1099)
OKLCHoklch(32.72% 0.134 304.7)
XYZxyz(5.4028, 3.0011, 13.9275)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45196A #3E6A19
analogous
#1D196A #45196A #6A1966
triadic
#45196A #6A4519 #196A45
tetradic
#45196A #6A1D19 #3E6A19 #19666A
square
#45196A #6A1D19 #3E6A19 #19666A
split-complementary
#45196A #666A19 #196A1D
monochromatic
#100619 #250D38 #45196A #65259C #8530CD

Accessibility & contrast

On white

13.12
#45196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#45196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45196A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45196A#FFFFFF#000000##FFFFFF
##45196A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#3E2C40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #45196a;
/* rgb */ color: rgb(69, 25, 106);
/* oklch */ color: oklch(32.7% 0.134 304.7);
Tailwind
colors: {
  custom: {
    50: '#7d5a95',
    500: '#45196a',
    950: '#000000',
  },
}
SCSS
$custom: #45196a;
$custom-light: #7d5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#45196a",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 272.593,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32722,
    "c": 0.13369,
    "h": 304.7
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#45196A
secondary
#6BA03F
accent
#E5438D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #45196A

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

Preview Lab → · Contrast checker → · Palette generator →

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