#45327E#45327E

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

Color values

HEX#45327E
RGBrgb(69, 50, 126)
HSLhsl(255, 43%, 35%)
HSVhsv(255, 60%, 49%)
CMYKcmyk(45.2%, 60.3%, 0%, 50.6%)
CIE-LABlab(26.88, 28.27, -40.36)
CIE-LCHlch(26.88, 49.27, 305.01°)
OKLaboklab(38.15% 0.044 -0.115)
OKLCHoklch(38.15% 0.123 290.9)
XYZxyz(7.3597, 5.0525, 20.3221)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45327E #6B7E32
analogous
#32457E #45327E #6B327E
triadic
#45327E #7E4532 #327E45
tetradic
#45327E #7E3245 #6B7E32 #327E6B
square
#45327E #7E3245 #6B7E32 #327E6B
split-complementary
#45327E #7E6B32 #457E32
monochromatic
#150F26 #2D2152 #45327E #5D43AA #7E68C3

Accessibility & contrast

On white

10.44
#45327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#45327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45327E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45327E#FFFFFF#000000##FFFFFF
##45327E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#354353
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45327e;
/* rgb */ color: rgb(69, 50, 126);
/* oklch */ color: oklch(38.2% 0.123 290.9);
Tailwind
colors: {
  custom: {
    50: '#7d6aa4',
    500: '#45327e',
    950: '#000000',
  },
}
SCSS
$custom: #45327e;
$custom-light: #7d6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#45327e",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 255,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.12316,
    "h": 290.9
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#45327E
secondary
#98AB61
accent
#D355B3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45327E

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

Preview Lab → · Contrast checker → · Palette generator →

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