#45329D#45329D

#45329D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.165 H 284.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#45329D
RGBrgb(69, 50, 157)
HSLhsl(251, 52%, 41%)
HSVhsv(251, 68%, 62%)
CMYKcmyk(56.1%, 68.2%, 0%, 38.4%)
CIE-LABlab(29.36, 37.96, -55.50)
CIE-LCHlch(29.36, 67.24, 304.37°)
OKLaboklab(40.73% 0.0413 -0.1595)
OKLCHoklch(40.73% 0.165 284.5)
XYZxyz(9.6788, 5.9802, 32.5360)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45329D #8A9D32
analogous
#32549D #45329D #7A329D
triadic
#45329D #9D4532 #329D45
tetradic
#45329D #9D3254 #8A9D32 #329D7A
square
#45329D #9D3254 #8A9D32 #329D7A
split-complementary
#45329D #9D7A32 #549D32
monochromatic
#1C1440 #31236F #45329D #5E48C5 #8776D3

Accessibility & contrast

On white

9.56
#45329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#45329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45329D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45329D#FFFFFF#000000##FFFFFF
##45329D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#1D4D63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45329d;
/* rgb */ color: rgb(69, 50, 157);
/* oklch */ color: oklch(40.7% 0.165 284.5);
Tailwind
colors: {
  custom: {
    50: '#826bbb',
    500: '#45329d',
    950: '#000000',
  },
}
SCSS
$custom: #45329d;
$custom-light: #826bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#45329d",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 250.654,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.1648,
    "h": 284.5
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#45329D
secondary
#AEBC6F
accent
#DB4DC2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45329D

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

Preview Lab → · Contrast checker → · Palette generator →

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