#45396F#45396F

#45396F is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.090 H 291.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#45396F
RGBrgb(69, 57, 111)
HSLhsl(253, 32%, 33%)
HSVhsv(253, 49%, 44%)
CMYKcmyk(37.8%, 48.6%, 0%, 56.5%)
CIE-LABlab(27.68, 19.15, -29.59)
CIE-LCHlch(27.68, 35.24, 302.91°)
OKLaboklab(38.42% 0.0334 -0.0834)
OKLCHoklch(38.42% 0.09 291.8)
XYZxyz(6.7859, 5.3390, 15.7088)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45396F #636F39
analogous
#39486F #45396F #60396F
triadic
#45396F #6F4539 #396F45
tetradic
#45396F #6F3948 #636F39 #396F60
square
#45396F #6F3948 #636F39 #396F60
split-complementary
#45396F #6F6039 #486F39
monochromatic
#130F1E #2C2447 #45396F #5E4E97 #7E6EB4

Accessibility & contrast

On white

10.16
#45396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#45396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45396F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45396F#FFFFFF#000000##FFFFFF
##45396F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264271
Deuteranopia (green-blind)
#28406E
Tritanopia (blue-blind)
#3B434E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #45396f;
/* rgb */ color: rgb(69, 57, 111);
/* oklch */ color: oklch(38.4% 0.090 291.8);
Tailwind
colors: {
  custom: {
    50: '#7b6f98',
    500: '#45396f',
    950: '#000000',
  },
}
SCSS
$custom: #45396f;
$custom-light: #7b6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#45396f",
  "rgb": {
    "r": 69,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 253.333,
    "s": 32.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.08987,
    "h": 291.8
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#45396F
secondary
#929E66
accent
#C85FB1
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #45396F

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

Preview Lab → · Contrast checker → · Palette generator →

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