#45348F#45348F

#45348F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.144 H 286.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#45348F
RGBrgb(69, 52, 143)
HSLhsl(251, 47%, 38%)
HSVhsv(251, 64%, 56%)
CMYKcmyk(51.7%, 63.6%, 0%, 43.9%)
CIE-LABlab(28.65, 32.34, -48.08)
CIE-LCHlch(28.65, 57.94, 303.92°)
OKLaboklab(39.86% 0.0408 -0.1377)
OKLCHoklch(39.86% 0.144 286.5)
XYZxyz(8.6387, 5.7039, 26.6271)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45348F #7E8F34
analogous
#34508F #45348F #72348F
triadic
#45348F #8F4534 #348F45
tetradic
#45348F #8F3450 #7E8F34 #348F72
square
#45348F #8F3450 #7E8F34 #348F72
split-complementary
#45348F #8F7234 #508F34
monochromatic
#1A1335 #2F2462 #45348F #5B45BB #8372CC

Accessibility & contrast

On white

9.81
#45348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#45348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45348F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45348F#FFFFFF#000000##FFFFFF
##45348F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#2A4A5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45348f;
/* rgb */ color: rgb(69, 52, 143);
/* oklch */ color: oklch(39.9% 0.144 286.5);
Tailwind
colors: {
  custom: {
    50: '#7f6cb0',
    500: '#45348f',
    950: '#000000',
  },
}
SCSS
$custom: #45348f;
$custom-light: #7f6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#45348f",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 251.209,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.14367,
    "h": 286.5
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#45348F
secondary
#A6B46B
accent
#D651BD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #45348F

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

Preview Lab → · Contrast checker → · Palette generator →

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