#45327F#45327F

#45327F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.2% C 0.125 H 290.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#45327F
RGBrgb(69, 50, 127)
HSLhsl(255, 44%, 35%)
HSVhsv(255, 61%, 50%)
CMYKcmyk(45.7%, 60.6%, 0%, 50.2%)
CIE-LABlab(26.96, 28.58, -40.87)
CIE-LCHlch(26.96, 49.87, 304.96°)
OKLaboklab(38.23% 0.044 -0.1165)
OKLCHoklch(38.23% 0.125 290.7)
XYZxyz(7.4245, 5.0785, 20.6636)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45327F #6C7F32
analogous
#32467F #45327F #6C327F
triadic
#45327F #7F4532 #327F45
tetradic
#45327F #7F3246 #6C7F32 #327F6C
square
#45327F #7F3246 #6C7F32 #327F6C
split-complementary
#45327F #7F6C32 #467F32
monochromatic
#150F27 #2D2153 #45327F #5D43AB #7E68C4

Accessibility & contrast

On white

10.42
#45327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#45327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45327F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45327F#FFFFFF#000000##FFFFFF
##45327F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#033E7D
Tritanopia (blue-blind)
#344353
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45327f;
/* rgb */ color: rgb(69, 50, 127);
/* oklch */ color: oklch(38.2% 0.125 290.7);
Tailwind
colors: {
  custom: {
    50: '#7d6aa5',
    500: '#45327f',
    950: '#000000',
  },
}
SCSS
$custom: #45327f;
$custom-light: #7d6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#45327f",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 254.805,
    "s": 43.503,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.12456,
    "h": 290.7
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#45327F
secondary
#99AB62
accent
#D355B4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45327F

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

Preview Lab → · Contrast checker → · Palette generator →

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