#45196C#45196C

#45196C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.136 H 303.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#45196C
RGBrgb(69, 25, 108)
HSLhsl(272, 62%, 26%)
HSVhsv(272, 77%, 42%)
CMYKcmyk(36.1%, 76.9%, 0%, 57.6%)
CIE-LABlab(20.22, 37.38, -39.65)
CIE-LCHlch(20.22, 54.49, 313.32°)
OKLaboklab(32.89% 0.0758 -0.1129)
OKLCHoklch(32.89% 0.136 303.9)
XYZxyz(5.5080, 3.0432, 14.4817)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45196C #406C19
analogous
#1B196C #45196C #6C1969
triadic
#45196C #6C4519 #196C45
tetradic
#45196C #6C1B19 #406C19 #19696C
square
#45196C #6C1B19 #406C19 #19696C
split-complementary
#45196C #696C19 #196C1B
monochromatic
#100619 #250D3A #45196C #65259E #8430CF

Accessibility & contrast

On white

13.05
#45196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#45196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45196C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45196C#FFFFFF#000000##FFFFFF
##45196C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#3D2D41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #45196c;
/* rgb */ color: rgb(69, 25, 108);
/* oklch */ color: oklch(32.9% 0.136 303.9);
Tailwind
colors: {
  custom: {
    50: '#7d5a97',
    500: '#45196c',
    950: '#000000',
  },
}
SCSS
$custom: #45196c;
$custom-light: #7d5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#45196c",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 271.807,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.13596,
    "h": 303.9
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#45196C
secondary
#6DA13F
accent
#E5428F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #45196C

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

Preview Lab → · Contrast checker → · Palette generator →

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