#45348B#45348B

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

Color values

HEX#45348B
RGBrgb(69, 52, 139)
HSLhsl(252, 46%, 37%)
HSVhsv(252, 63%, 55%)
CMYKcmyk(50.4%, 62.6%, 0%, 45.5%)
CIE-LABlab(28.34, 31.07, -46.12)
CIE-LCHlch(28.34, 55.61, 303.97°)
OKLaboklab(39.53% 0.0411 -0.132)
OKLCHoklch(39.53% 0.138 287.3)
XYZxyz(8.3411, 5.5849, 25.0596)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45348B #7A8B34
analogous
#344F8B #45348B #70348B
triadic
#45348B #8B4534 #348B45
tetradic
#45348B #8B344F #7A8B34 #348B70
square
#45348B #8B344F #7A8B34 #348B70
split-complementary
#45348B #8B7034 #4F8B34
monochromatic
#191332 #2F235E #45348B #5B45B8 #8170C9

Accessibility & contrast

On white

9.92
#45348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#45348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45348B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45348B#FFFFFF#000000##FFFFFF
##45348B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45348b;
/* rgb */ color: rgb(69, 52, 139);
/* oklch */ color: oklch(39.5% 0.138 287.3);
Tailwind
colors: {
  custom: {
    50: '#7f6cae',
    500: '#45348b',
    950: '#000000',
  },
}
SCSS
$custom: #45348b;
$custom-light: #7f6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#45348b",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 251.724,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.13822,
    "h": 287.3
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#45348B
secondary
#A3B269
accent
#D553BC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #45348B

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

Preview Lab → · Contrast checker → · Palette generator →

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