#45366F#45366F

#45366F is a dark, moderate violet. Relative luminance 0.051; OKLCH L 37.8% C 0.095 H 293.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#45366F
RGBrgb(69, 54, 111)
HSLhsl(256, 35%, 32%)
HSVhsv(256, 51%, 44%)
CMYKcmyk(37.8%, 51.4%, 0%, 56.5%)
CIE-LABlab(26.88, 21.12, -30.86)
CIE-LCHlch(26.88, 37.39, 304.39°)
OKLaboklab(37.82% 0.0378 -0.0871)
OKLCHoklch(37.82% 0.095 293.5)
XYZxyz(6.6419, 5.0511, 15.6609)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45366F #606F36
analogous
#36446F #45366F #61366F
triadic
#45366F #6F4536 #366F45
tetradic
#45366F #6F3644 #606F36 #366F61
square
#45366F #6F3644 #606F36 #366F61
split-complementary
#45366F #6F6136 #446F36
monochromatic
#120E1D #2B2246 #45366F #5F4A98 #7D69B6

Accessibility & contrast

On white

10.45
#45366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45366F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45366F#FFFFFF#000000##FFFFFF
##45366F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#243F6E
Tritanopia (blue-blind)
#3B414D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45366f;
/* rgb */ color: rgb(69, 54, 111);
/* oklch */ color: oklch(37.8% 0.095 293.5);
Tailwind
colors: {
  custom: {
    50: '#7b6d99',
    500: '#45366f',
    950: '#000000',
  },
}
SCSS
$custom: #45366f;
$custom-light: #7b6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#45366f",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 255.789,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.09499,
    "h": 293.5
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#45366F
secondary
#8F9F62
accent
#CB5DAE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #45366F

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

Preview Lab → · Contrast checker → · Palette generator →

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