#45366E#45366E

#45366E is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.8% C 0.093 H 293.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#45366E
RGBrgb(69, 54, 110)
HSLhsl(256, 34%, 32%)
HSVhsv(256, 51%, 43%)
CMYKcmyk(37.3%, 50.9%, 0%, 56.9%)
CIE-LABlab(26.82, 20.82, -30.32)
CIE-LCHlch(26.82, 36.78, 304.48°)
OKLaboklab(37.76% 0.0377 -0.0856)
OKLCHoklch(37.76% 0.094 293.8)
XYZxyz(6.5872, 5.0292, 15.3725)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45366E #5F6E36
analogous
#36436E #45366E #61366E
triadic
#45366E #6E4536 #366E45
tetradic
#45366E #6E3643 #5F6E36 #366E61
square
#45366E #6E3643 #5F6E36 #366E61
split-complementary
#45366E #6E6136 #436E36
monochromatic
#120E1C #2B2245 #45366E #5F4A97 #7D69B5

Accessibility & contrast

On white

10.47
#45366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#45366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45366E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45366E#FFFFFF#000000##FFFFFF
##45366E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224070
Deuteranopia (green-blind)
#243E6D
Tritanopia (blue-blind)
#3B414C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45366e;
/* rgb */ color: rgb(69, 54, 110);
/* oklch */ color: oklch(37.8% 0.093 293.8);
Tailwind
colors: {
  custom: {
    50: '#7b6d98',
    500: '#45366e',
    950: '#000000',
  },
}
SCSS
$custom: #45366e;
$custom-light: #7b6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#45366e",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 256.071,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37758,
    "c": 0.0935,
    "h": 293.8
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#45366E
secondary
#8E9E62
accent
#CA5EAD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #45366E

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

Preview Lab → · Contrast checker → · Palette generator →

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