#45358F#45358F

#45358F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.142 H 286.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#45358F
RGBrgb(69, 53, 143)
HSLhsl(251, 46%, 38%)
HSVhsv(251, 63%, 56%)
CMYKcmyk(51.7%, 62.9%, 0%, 43.9%)
CIE-LABlab(28.89, 31.72, -47.70)
CIE-LCHlch(28.89, 57.28, 303.62°)
OKLaboklab(40.03% 0.0397 -0.1366)
OKLCHoklch(40.03% 0.142 286.2)
XYZxyz(8.6838, 5.7942, 26.6421)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45358F #7F8F35
analogous
#35528F #45358F #72358F
triadic
#45358F #8F4535 #358F45
tetradic
#45358F #8F3552 #7F8F35 #358F72
square
#45358F #8F3552 #7F8F35 #358F72
split-complementary
#45358F #8F7235 #528F35
monochromatic
#1A1436 #2F2462 #45358F #5B47BB #8373CB

Accessibility & contrast

On white

9.73
#45358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#45358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45358F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45358F#FFFFFF#000000##FFFFFF
##45358F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45358f;
/* rgb */ color: rgb(69, 53, 143);
/* oklch */ color: oklch(40.0% 0.142 286.2);
Tailwind
colors: {
  custom: {
    50: '#7f6db0',
    500: '#45358f',
    950: '#000000',
  },
}
SCSS
$custom: #45358f;
$custom-light: #7f6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#45358f",
  "rgb": {
    "r": 69,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 250.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.14228,
    "h": 286.2
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#45358F
secondary
#A7B46C
accent
#D652BE
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #45358F

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

Preview Lab → · Contrast checker → · Palette generator →

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