#45397A#45397A

#45397A is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.2% C 0.106 H 289.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#45397A
RGBrgb(69, 57, 122)
HSLhsl(251, 36%, 35%)
HSVhsv(251, 53%, 48%)
CMYKcmyk(43.4%, 53.3%, 0%, 52.2%)
CIE-LABlab(28.37, 22.53, -35.45)
CIE-LCHlch(28.37, 42.01, 302.44°)
OKLaboklab(39.17% 0.0347 -0.1006)
OKLCHoklch(39.17% 0.106 289)
XYZxyz(7.4292, 5.5964, 19.0973)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45397A #6E7A39
analogous
#394D7A #45397A #66397A
triadic
#45397A #7A4539 #397A45
tetradic
#45397A #7A394D #6E7A39 #397A66
square
#45397A #7A394D #6E7A39 #397A66
split-complementary
#45397A #7A6639 #4D7A39
monochromatic
#161227 #2D2650 #45397A #5D4CA4 #7F71BD

Accessibility & contrast

On white

9.91
#45397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#45397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45397A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45397A#FFFFFF#000000##FFFFFF
##45397A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#1E4179
Tritanopia (blue-blind)
#364754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #45397a;
/* rgb */ color: rgb(69, 57, 122);
/* oklch */ color: oklch(39.2% 0.106 289.0);
Tailwind
colors: {
  custom: {
    50: '#7c6fa1',
    500: '#45397a',
    950: '#000000',
  },
}
SCSS
$custom: #45397a;
$custom-light: #7c6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#45397a",
  "rgb": {
    "r": 69,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 251.077,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.10641,
    "h": 289
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#45397A
secondary
#9BA669
accent
#CC5BB7
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #45397A

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

Preview Lab → · Contrast checker → · Palette generator →

#45397A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva