#45327D#45327D

#45327D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.122 H 291.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#45327D
RGBrgb(69, 50, 125)
HSLhsl(255, 43%, 34%)
HSVhsv(255, 60%, 49%)
CMYKcmyk(44.8%, 60%, 0%, 51%)
CIE-LABlab(26.81, 27.96, -39.85)
CIE-LCHlch(26.81, 48.68, 305.06°)
OKLaboklab(38.08% 0.044 -0.1135)
OKLCHoklch(38.08% 0.122 291.2)
XYZxyz(7.2955, 5.0269, 19.9840)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45327D #6A7D32
analogous
#32457D #45327D #6B327D
triadic
#45327D #7D4532 #327D45
tetradic
#45327D #7D3245 #6A7D32 #327D6B
square
#45327D #7D3245 #6A7D32 #327D6B
split-complementary
#45327D #7D6B32 #457D32
monochromatic
#150F26 #2D2151 #45327D #5D43A9 #7E67C2

Accessibility & contrast

On white

10.47
#45327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45327D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45327D#FFFFFF#000000##FFFFFF
##45327D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02417F
Deuteranopia (green-blind)
#083E7B
Tritanopia (blue-blind)
#354252
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45327d;
/* rgb */ color: rgb(69, 50, 125);
/* oklch */ color: oklch(38.1% 0.122 291.2);
Tailwind
colors: {
  custom: {
    50: '#7d6aa3',
    500: '#45327d',
    950: '#000000',
  },
}
SCSS
$custom: #45327d;
$custom-light: #7d6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#45327d",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 255.2,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.12176,
    "h": 291.2
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#45327D
secondary
#97AA61
accent
#D355B3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45327D

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

Preview Lab → · Contrast checker → · Palette generator →

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