#45348D#45348D

#45348D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.141 H 286.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#45348D
RGBrgb(69, 52, 141)
HSLhsl(251, 46%, 38%)
HSVhsv(251, 63%, 55%)
CMYKcmyk(51.1%, 63.1%, 0%, 44.7%)
CIE-LABlab(28.50, 31.70, -47.10)
CIE-LCHlch(28.50, 56.78, 303.94°)
OKLaboklab(39.69% 0.041 -0.1349)
OKLCHoklch(39.69% 0.141 286.9)
XYZxyz(8.4885, 5.6439, 25.8362)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45348D #7C8D34
analogous
#344F8D #45348D #72348D
triadic
#45348D #8D4534 #348D45
tetradic
#45348D #8D344F #7C8D34 #348D72
square
#45348D #8D344F #7C8D34 #348D72
split-complementary
#45348D #8D7234 #4F8D34
monochromatic
#191334 #2F2460 #45348D #5B44BA #8271CB

Accessibility & contrast

On white

9.86
#45348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#45348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45348D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45348D#FFFFFF#000000##FFFFFF
##45348D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#2B495B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #45348d;
/* rgb */ color: rgb(69, 52, 141);
/* oklch */ color: oklch(39.7% 0.141 286.9);
Tailwind
colors: {
  custom: {
    50: '#7f6caf',
    500: '#45348d',
    950: '#000000',
  },
}
SCSS
$custom: #45348d;
$custom-light: #7f6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#45348d",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 251.461,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.14095,
    "h": 286.9
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#45348D
secondary
#A5B36A
accent
#D652BD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #45348D

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

Preview Lab → · Contrast checker → · Palette generator →

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