#45329F#45329F

#45329F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.167 H 284.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#45329F
RGBrgb(69, 50, 159)
HSLhsl(250, 52%, 41%)
HSVhsv(250, 69%, 62%)
CMYKcmyk(56.6%, 68.6%, 0%, 37.6%)
CIE-LABlab(29.54, 38.59, -56.43)
CIE-LCHlch(29.54, 68.36, 304.37°)
OKLaboklab(40.91% 0.041 -0.1623)
OKLCHoklch(40.91% 0.167 284.2)
XYZxyz(9.8509, 6.0490, 33.4427)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45329F #8C9F32
analogous
#32559F #45329F #7B329F
triadic
#45329F #9F4532 #329F45
tetradic
#45329F #9F3255 #8C9F32 #329F7B
square
#45329F #9F3255 #8C9F32 #329F7B
split-complementary
#45329F #9F7B32 #559F32
monochromatic
#1D1542 #312370 #45329F #5E49C6 #8777D4

Accessibility & contrast

On white

9.50
#45329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#45329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45329F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45329F#FFFFFF#000000##FFFFFF
##45329F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#1A4E64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45329f;
/* rgb */ color: rgb(69, 50, 159);
/* oklch */ color: oklch(40.9% 0.167 284.2);
Tailwind
colors: {
  custom: {
    50: '#826bbc',
    500: '#45329f',
    950: '#000000',
  },
}
SCSS
$custom: #45329f;
$custom-light: #826bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#45329f",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 250.459,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.16737,
    "h": 284.2
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#45329F
secondary
#AFBD70
accent
#DC4CC3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45329F

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

Preview Lab → · Contrast checker → · Palette generator →

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