#45198D#45198D

#45198D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.173 H 292.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#45198D
RGBrgb(69, 25, 141)
HSLhsl(263, 70%, 33%)
HSVhsv(263, 82%, 55%)
CMYKcmyk(51.1%, 82.3%, 0%, 44.7%)
CIE-LABlab(23.28, 46.17, -55.62)
CIE-LCHlch(23.28, 72.28, 309.69°)
OKLaboklab(35.98% 0.0662 -0.1597)
OKLCHoklch(35.98% 0.173 292.5)
XYZxyz(7.6082, 3.8833, 25.5428)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45198D #618D19
analogous
#19278D #45198D #7F198D
triadic
#45198D #8D4519 #198D45
tetradic
#45198D #8D1927 #618D19 #198D7F
square
#45198D #8D1927 #618D19 #198D7F
split-complementary
#45198D #8D7F19 #278D19
monochromatic
#120725 #2C1059 #45198D #5E22C1 #7E43DE

Accessibility & contrast

On white

11.82
#45198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#45198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45198D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45198D#FFFFFF#000000##FFFFFF
##45198D1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#2D3B54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #45198d;
/* rgb */ color: rgb(69, 25, 141);
/* oklch */ color: oklch(36.0% 0.173 292.5);
Tailwind
colors: {
  custom: {
    50: '#815caf',
    500: '#45198d',
    950: '#000000',
  },
}
SCSS
$custom: #45198d;
$custom-light: #815caf;
$custom-dark: #000000;
JSON
{
  "hex": "#45198d",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 262.759,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35979,
    "c": 0.17292,
    "h": 292.5
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#45198D
secondary
#90BF43
accent
#ED3BA9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #45198D

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

Preview Lab → · Contrast checker → · Palette generator →

#45198D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva