#45337E#45337E

#45337E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.3% C 0.122 H 290.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#45337E
RGBrgb(69, 51, 126)
HSLhsl(254, 42%, 35%)
HSVhsv(254, 60%, 49%)
CMYKcmyk(45.2%, 59.5%, 0%, 50.6%)
CIE-LABlab(27.13, 27.64, -39.97)
CIE-LCHlch(27.13, 48.59, 304.66°)
OKLaboklab(38.33% 0.0427 -0.1139)
OKLCHoklch(38.33% 0.122 290.6)
XYZxyz(7.4029, 5.1390, 20.3365)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45337E #6C7E33
analogous
#33477E #45337E #6B337E
triadic
#45337E #7E4533 #337E45
tetradic
#45337E #7E3347 #6C7E33 #337E6B
square
#45337E #7E3347 #6C7E33 #337E6B
split-complementary
#45337E #7E6B33 #477E33
monochromatic
#151027 #2D2152 #45337E #5D45AA #7E69C2

Accessibility & contrast

On white

10.36
#45337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#45337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45337E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45337E#FFFFFF#000000##FFFFFF
##45337E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#093E7C
Tritanopia (blue-blind)
#344353
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45337e;
/* rgb */ color: rgb(69, 51, 126);
/* oklch */ color: oklch(38.3% 0.122 290.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ba4',
    500: '#45337e',
    950: '#000000',
  },
}
SCSS
$custom: #45337e;
$custom-light: #7d6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#45337e",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 254.4,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38333,
    "c": 0.12164,
    "h": 290.6
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#45337E
secondary
#99AA63
accent
#D256B4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #45337E

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

Preview Lab → · Contrast checker → · Palette generator →

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