#45366C#45366C

#45366C is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.6% C 0.090 H 294.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#45366C
RGBrgb(69, 54, 108)
HSLhsl(257, 33%, 32%)
HSVhsv(257, 50%, 42%)
CMYKcmyk(36.1%, 50%, 0%, 57.6%)
CIE-LABlab(26.70, 20.22, -29.23)
CIE-LCHlch(26.70, 35.55, 304.68°)
OKLaboklab(37.63% 0.0375 -0.0824)
OKLCHoklch(37.63% 0.091 294.4)
XYZxyz(6.4795, 4.9861, 14.8055)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45366C #5D6C36
analogous
#36426C #45366C #60366C
triadic
#45366C #6C4536 #366C45
tetradic
#45366C #6C3642 #5D6C36 #366C60
square
#45366C #6C3642 #5D6C36 #366C60
split-complementary
#45366C #6C6036 #426C36
monochromatic
#110D1A #2B2243 #45366C #5F4A95 #7D69B4

Accessibility & contrast

On white

10.51
#45366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#45366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45366C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45366C#FFFFFF#000000##FFFFFF
##45366C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406E
Deuteranopia (green-blind)
#263E6B
Tritanopia (blue-blind)
#3C404C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45366c;
/* rgb */ color: rgb(69, 54, 108);
/* oklch */ color: oklch(37.6% 0.090 294.4);
Tailwind
colors: {
  custom: {
    50: '#7b6d96',
    500: '#45366c',
    950: '#000000',
  },
}
SCSS
$custom: #45366c;
$custom-light: #7b6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#45366c",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 256.667,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.0905,
    "h": 294.4
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#45366C
secondary
#8C9D61
accent
#C95EAC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #45366C

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

Preview Lab → · Contrast checker → · Palette generator →

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