#45347B#45347B

#45347B is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.116 H 290.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#45347B
RGBrgb(69, 52, 123)
HSLhsl(254, 41%, 34%)
HSVhsv(254, 58%, 48%)
CMYKcmyk(43.9%, 57.7%, 0%, 51.8%)
CIE-LABlab(27.16, 26.07, -38.02)
CIE-LCHlch(27.16, 46.10, 304.44°)
OKLaboklab(38.29% 0.0414 -0.1082)
OKLCHoklch(38.29% 0.116 290.9)
XYZxyz(7.2564, 5.1510, 19.3470)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45347B #6A7B34
analogous
#34477B #45347B #69347B
triadic
#45347B #7B4534 #347B45
tetradic
#45347B #7B3447 #6A7B34 #347B69
square
#45347B #7B3447 #6A7B34 #347B69
split-complementary
#45347B #7B6934 #477B34
monochromatic
#151025 #2D2250 #45347B #5D46A6 #7E6AC0

Accessibility & contrast

On white

10.34
#45347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#45347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45347B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45347B#FFFFFF#000000##FFFFFF
##45347B1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417D
Deuteranopia (green-blind)
#123F79
Tritanopia (blue-blind)
#364352
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45347b;
/* rgb */ color: rgb(69, 52, 123);
/* oklch */ color: oklch(38.3% 0.116 290.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ca2',
    500: '#45347b',
    950: '#000000',
  },
}
SCSS
$custom: #45347b;
$custom-light: #7d6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#45347b",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 254.366,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38289,
    "c": 0.11582,
    "h": 290.9
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#45347B
secondary
#97A863
accent
#D057B3
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #45347B

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

Preview Lab → · Contrast checker → · Palette generator →

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