#45329C#45329C

#45329C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.164 H 284.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#45329C
RGBrgb(69, 50, 156)
HSLhsl(251, 51%, 40%)
HSVhsv(251, 68%, 61%)
CMYKcmyk(55.8%, 67.9%, 0%, 38.8%)
CIE-LABlab(29.28, 37.65, -55.03)
CIE-LCHlch(29.28, 66.68, 304.38°)
OKLaboklab(40.64% 0.0414 -0.1582)
OKLCHoklch(40.64% 0.164 284.7)
XYZxyz(9.5938, 5.9462, 32.0882)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45329C #899C32
analogous
#32549C #45329C #7A329C
triadic
#45329C #9C4532 #329C45
tetradic
#45329C #9C3254 #899C32 #329C7A
square
#45329C #9C3254 #899C32 #329C7A
split-complementary
#45329C #9C7A32 #549C32
monochromatic
#1C143F #31236E #45329C #5E47C4 #8675D3

Accessibility & contrast

On white

9.59
#45329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#45329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45329C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45329C#FFFFFF#000000##FFFFFF
##45329C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#1E4D62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45329c;
/* rgb */ color: rgb(69, 50, 156);
/* oklch */ color: oklch(40.6% 0.164 284.7);
Tailwind
colors: {
  custom: {
    50: '#826bba',
    500: '#45329c',
    950: '#000000',
  },
}
SCSS
$custom: #45329c;
$custom-light: #826bba;
$custom-dark: #000000;
JSON
{
  "hex": "#45329c",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 250.755,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.1635,
    "h": 284.7
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#45329C
secondary
#ADBB6F
accent
#DB4DC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45329C

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

Preview Lab → · Contrast checker → · Palette generator →

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