#45346F#45346F

#45346F is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.4% C 0.098 H 294.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#45346F
RGBrgb(69, 52, 111)
HSLhsl(257, 36%, 32%)
HSVhsv(257, 53%, 44%)
CMYKcmyk(37.8%, 53.2%, 0%, 56.5%)
CIE-LABlab(26.36, 22.42, -31.69)
CIE-LCHlch(26.36, 38.82, 305.28°)
OKLaboklab(37.43% 0.0407 -0.0896)
OKLCHoklch(37.43% 0.098 294.4)
XYZxyz(6.5507, 4.8688, 15.6305)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45346F #5E6F34
analogous
#34416F #45346F #63346F
triadic
#45346F #6F4534 #346F45
tetradic
#45346F #6F3441 #5E6F34 #346F63
square
#45346F #6F3441 #5E6F34 #346F63
split-complementary
#45346F #6F6334 #416F34
monochromatic
#110D1C #2B2045 #45346F #5F4899 #7D66B7

Accessibility & contrast

On white

10.64
#45346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#45346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45346F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45346F#FFFFFF#000000##FFFFFF
##45346F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#213D6E
Tritanopia (blue-blind)
#3B404C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45346f;
/* rgb */ color: rgb(69, 52, 111);
/* oklch */ color: oklch(37.4% 0.098 294.4);
Tailwind
colors: {
  custom: {
    50: '#7b6c99',
    500: '#45346f',
    950: '#000000',
  },
}
SCSS
$custom: #45346f;
$custom-light: #7b6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#45346f",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 257.288,
    "s": 36.196,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.0984,
    "h": 294.4
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#45346F
secondary
#8DA05F
accent
#CC5CAC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #45346F

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

Preview Lab → · Contrast checker → · Palette generator →

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