#45196F#45196F

#45196F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.139 H 302.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#45196F
RGBrgb(69, 25, 111)
HSLhsl(271, 63%, 27%)
HSVhsv(271, 77%, 44%)
CMYKcmyk(37.8%, 77.5%, 0%, 56.5%)
CIE-LABlab(20.47, 38.16, -41.18)
CIE-LCHlch(20.47, 56.14, 312.82°)
OKLaboklab(33.15% 0.0751 -0.1174)
OKLCHoklch(33.15% 0.139 302.6)
XYZxyz(5.6704, 3.1082, 15.3370)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45196F #436F19
analogous
#1A196F #45196F #6F196E
triadic
#45196F #6F4519 #196F45
tetradic
#45196F #6F1A19 #436F19 #196E6F
square
#45196F #6F1A19 #436F19 #196E6F
split-complementary
#45196F #6E6F19 #196F1A
monochromatic
#100619 #260E3D #45196F #6424A1 #8332D1

Accessibility & contrast

On white

12.95
#45196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#45196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45196F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45196F#FFFFFF#000000##FFFFFF
##45196F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3C2E43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #45196f;
/* rgb */ color: rgb(69, 25, 111);
/* oklch */ color: oklch(33.2% 0.139 302.6);
Tailwind
colors: {
  custom: {
    50: '#7d5a99',
    500: '#45196f',
    950: '#000000',
  },
}
SCSS
$custom: #45196f;
$custom-light: #7d5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#45196f",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 270.698,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33154,
    "c": 0.13935,
    "h": 302.6
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#45196F
secondary
#71A43F
accent
#E64292
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #45196F

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

Preview Lab → · Contrast checker → · Palette generator →

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