#45347D#45347D

#45347D is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.4% C 0.119 H 290.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#45347D
RGBrgb(69, 52, 125)
HSLhsl(254, 41%, 35%)
HSVhsv(254, 58%, 49%)
CMYKcmyk(44.8%, 58.4%, 0%, 51%)
CIE-LABlab(27.30, 26.69, -39.06)
CIE-LCHlch(27.30, 47.31, 304.35°)
OKLaboklab(38.44% 0.0414 -0.1112)
OKLCHoklch(38.44% 0.119 290.4)
XYZxyz(7.3829, 5.2016, 20.0131)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45347D #6C7D34
analogous
#34477D #45347D #6A347D
triadic
#45347D #7D4534 #347D45
tetradic
#45347D #7D3447 #6C7D34 #347D6A
square
#45347D #7D3447 #6C7D34 #347D6A
split-complementary
#45347D #7D6A34 #477D34
monochromatic
#151027 #2D2252 #45347D #5D46A8 #7E6AC1

Accessibility & contrast

On white

10.29
#45347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#45347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45347D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45347D#FFFFFF#000000##FFFFFF
##45347D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B427F
Deuteranopia (green-blind)
#0F3F7B
Tritanopia (blue-blind)
#354453
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45347d;
/* rgb */ color: rgb(69, 52, 125);
/* oklch */ color: oklch(38.4% 0.119 290.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ca3',
    500: '#45347d',
    950: '#000000',
  },
}
SCSS
$custom: #45347d;
$custom-light: #7d6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#45347d",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 253.973,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.11868,
    "h": 290.4
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#45347D
secondary
#99A964
accent
#D157B5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #45347D

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

Preview Lab → · Contrast checker → · Palette generator →

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