#45328F#45328F

#45328F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.146 H 287.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#45328F
RGBrgb(69, 50, 143)
HSLhsl(252, 48%, 38%)
HSVhsv(252, 65%, 56%)
CMYKcmyk(51.7%, 65%, 0%, 43.9%)
CIE-LABlab(28.19, 33.56, -48.83)
CIE-LCHlch(28.19, 59.25, 304.50°)
OKLaboklab(39.52% 0.043 -0.14)
OKLCHoklch(39.52% 0.146 287.1)
XYZxyz(8.5513, 5.5292, 26.5979)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45328F #7C8F32
analogous
#324D8F #45328F #73328F
triadic
#45328F #8F4532 #328F45
tetradic
#45328F #8F324D #7C8F32 #328F73
square
#45328F #8F324D #7C8F32 #328F73
split-complementary
#45328F #8F7332 #4D8F32
monochromatic
#191234 #2F2262 #45328F #5B42BC #826FCD

Accessibility & contrast

On white

9.97
#45328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#45328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45328F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45328F#FFFFFF#000000##FFFFFF
##45328F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#2A485B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #45328f;
/* rgb */ color: rgb(69, 50, 143);
/* oklch */ color: oklch(39.5% 0.146 287.1);
Tailwind
colors: {
  custom: {
    50: '#806bb1',
    500: '#45328f',
    950: '#000000',
  },
}
SCSS
$custom: #45328f;
$custom-light: #806bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#45328f",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 252.258,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.14641,
    "h": 287.1
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#45328F
secondary
#A5B468
accent
#D850BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #45328F

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

Preview Lab → · Contrast checker → · Palette generator →

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