#45348A#45348A

#45348A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.5% C 0.137 H 287.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#45348A
RGBrgb(69, 52, 138)
HSLhsl(252, 45%, 37%)
HSVhsv(252, 62%, 54%)
CMYKcmyk(50%, 62.3%, 0%, 45.9%)
CIE-LABlab(28.26, 30.76, -45.62)
CIE-LCHlch(28.26, 55.02, 303.99°)
OKLaboklab(39.45% 0.0411 -0.1305)
OKLCHoklch(39.45% 0.137 287.5)
XYZxyz(8.2683, 5.5558, 24.6765)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45348A #798A34
analogous
#344E8A #45348A #70348A
triadic
#45348A #8A4534 #348A45
tetradic
#45348A #8A344E #798A34 #348A70
square
#45348A #8A344E #798A34 #348A70
split-complementary
#45348A #8A7034 #4E8A34
monochromatic
#191331 #2F235E #45348A #5B45B6 #816FC9

Accessibility & contrast

On white

9.95
#45348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#45348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45348A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45348A#FFFFFF#000000##FFFFFF
##45348A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#2D485A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #45348a;
/* rgb */ color: rgb(69, 52, 138);
/* oklch */ color: oklch(39.5% 0.137 287.5);
Tailwind
colors: {
  custom: {
    50: '#7f6cad',
    500: '#45348a',
    950: '#000000',
  },
}
SCSS
$custom: #45348a;
$custom-light: #7f6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#45348a",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 251.86,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.13685,
    "h": 287.5
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#45348A
secondary
#A3B169
accent
#D553BB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #45348A

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

Preview Lab → · Contrast checker → · Palette generator →

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