#45346C#45346C

#45346C is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.2% C 0.094 H 295.5°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#45346C
RGBrgb(69, 52, 108)
HSLhsl(258, 35%, 31%)
HSVhsv(258, 52%, 42%)
CMYKcmyk(36.1%, 51.9%, 0%, 57.6%)
CIE-LABlab(26.17, 21.53, -30.07)
CIE-LCHlch(26.17, 36.98, 305.60°)
OKLaboklab(37.23% 0.0404 -0.0848)
OKLCHoklch(37.23% 0.094 295.5)
XYZxyz(6.3883, 4.8038, 14.7751)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45346C #5B6C34
analogous
#343F6C #45346C #61346C
triadic
#45346C #6C4534 #346C45
tetradic
#45346C #6C343F #5B6C34 #346C61
square
#45346C #6C343F #5B6C34 #346C61
split-complementary
#45346C #6C6134 #3F6C34
monochromatic
#100C19 #2B2043 #45346C #5F4895 #7E65B5

Accessibility & contrast

On white

10.71
#45346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#45346C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45346C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45346C#FFFFFF#000000##FFFFFF
##45346C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#243D6B
Tritanopia (blue-blind)
#3C3F4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45346c;
/* rgb */ color: rgb(69, 52, 108);
/* oklch */ color: oklch(37.2% 0.094 295.5);
Tailwind
colors: {
  custom: {
    50: '#7b6c96',
    500: '#45346c',
    950: '#000000',
  },
}
SCSS
$custom: #45346c;
$custom-light: #7b6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#45346c",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 258.214,
    "s": 35,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.09398,
    "h": 295.5
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#45346C
secondary
#8A9D5F
accent
#CB5DAA
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #45346C

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

Preview Lab → · Contrast checker → · Palette generator →

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