#45397C#45397C

#45397C is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.109 H 288.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#45397C
RGBrgb(69, 57, 124)
HSLhsl(251, 37%, 35%)
HSVhsv(251, 54%, 49%)
CMYKcmyk(44.4%, 54%, 0%, 51.4%)
CIE-LABlab(28.50, 23.16, -36.50)
CIE-LCHlch(28.50, 43.22, 302.39°)
OKLaboklab(39.31% 0.0348 -0.1037)
OKLCHoklch(39.31% 0.109 288.6)
XYZxyz(7.5544, 5.6464, 19.7567)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45397C #707C39
analogous
#394E7C #45397C #66397C
triadic
#45397C #7C4539 #397C45
tetradic
#45397C #7C394E #707C39 #397C66
square
#45397C #7C394E #707C39 #397C66
split-complementary
#45397C #7C6639 #4E7C39
monochromatic
#161228 #2E2652 #45397C #5C4CA6 #7F71BE

Accessibility & contrast

On white

9.86
#45397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#45397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45397C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45397C#FFFFFF#000000##FFFFFF
##45397C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#1B427A
Tritanopia (blue-blind)
#354755
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #45397c;
/* rgb */ color: rgb(69, 57, 124);
/* oklch */ color: oklch(39.3% 0.109 288.6);
Tailwind
colors: {
  custom: {
    50: '#7c6fa2',
    500: '#45397c',
    950: '#000000',
  },
}
SCSS
$custom: #45397c;
$custom-light: #7c6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#45397c",
  "rgb": {
    "r": 69,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 250.746,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.10937,
    "h": 288.6
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#45397C
secondary
#9CA76A
accent
#CD5BB9
background
#F7F6FA
surface
#EEECF3
border
#C9C7CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #45397C

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

Preview Lab → · Contrast checker → · Palette generator →

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