#45358D#45358D

#45358D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.140 H 286.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#45358D
RGBrgb(69, 53, 141)
HSLhsl(251, 45%, 38%)
HSVhsv(251, 62%, 55%)
CMYKcmyk(51.1%, 62.4%, 0%, 44.7%)
CIE-LABlab(28.73, 31.08, -46.72)
CIE-LCHlch(28.73, 56.11, 303.64°)
OKLaboklab(39.87% 0.0398 -0.1337)
OKLCHoklch(39.87% 0.14 286.6)
XYZxyz(8.5337, 5.7341, 25.8513)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45358D #7D8D35
analogous
#35518D #45358D #71358D
triadic
#45358D #8D4535 #358D45
tetradic
#45358D #8D3551 #7D8D35 #358D71
square
#45358D #8D3551 #7D8D35 #358D71
split-complementary
#45358D #8D7135 #518D35
monochromatic
#191434 #2F2461 #45358D #5B46B9 #8272CA

Accessibility & contrast

On white

9.78
#45358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#45358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45358D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45358D#FFFFFF#000000##FFFFFF
##45358D1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#2B4A5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45358d;
/* rgb */ color: rgb(69, 53, 141);
/* oklch */ color: oklch(39.9% 0.140 286.6);
Tailwind
colors: {
  custom: {
    50: '#7f6daf',
    500: '#45358d',
    950: '#000000',
  },
}
SCSS
$custom: #45358d;
$custom-light: #7f6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#45358d",
  "rgb": {
    "r": 69,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 250.909,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.13955,
    "h": 286.6
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#45358D
secondary
#A6B26B
accent
#D553BD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #45358D

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

Preview Lab → · Contrast checker → · Palette generator →

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