#45347A#45347A

#45347A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.114 H 291.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#45347A
RGBrgb(69, 52, 122)
HSLhsl(255, 40%, 34%)
HSVhsv(255, 57%, 48%)
CMYKcmyk(43.4%, 57.4%, 0%, 52.2%)
CIE-LABlab(27.09, 25.77, -37.50)
CIE-LCHlch(27.09, 45.50, 304.49°)
OKLaboklab(38.21% 0.0414 -0.1066)
OKLCHoklch(38.21% 0.114 291.2)
XYZxyz(7.1941, 5.1261, 19.0190)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45347A #697A34
analogous
#34467A #45347A #68347A
triadic
#45347A #7A4534 #347A45
tetradic
#45347A #7A3446 #697A34 #347A68
square
#45347A #7A3446 #697A34 #347A68
split-complementary
#45347A #7A6834 #467A34
monochromatic
#140F24 #2D224F #45347A #5D46A5 #7E69BF

Accessibility & contrast

On white

10.37
#45347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45347A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45347A#FFFFFF#000000##FFFFFF
##45347A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417C
Deuteranopia (green-blind)
#143F78
Tritanopia (blue-blind)
#364351
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45347a;
/* rgb */ color: rgb(69, 52, 122);
/* oklch */ color: oklch(38.2% 0.114 291.2);
Tailwind
colors: {
  custom: {
    50: '#7c6ca1',
    500: '#45347a',
    950: '#000000',
  },
}
SCSS
$custom: #45347a;
$custom-light: #7c6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#45347a",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 254.571,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.1144,
    "h": 291.2
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#45347A
secondary
#97A763
accent
#D058B3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #45347A

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

Preview Lab → · Contrast checker → · Palette generator →

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