#45396C#45396C

#45396C is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.2% C 0.085 H 292.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#45396C
RGBrgb(69, 57, 108)
HSLhsl(254, 31%, 32%)
HSVhsv(254, 47%, 42%)
CMYKcmyk(36.1%, 47.2%, 0%, 57.6%)
CIE-LABlab(27.50, 18.25, -27.95)
CIE-LCHlch(27.50, 33.38, 303.14°)
OKLaboklab(38.23% 0.033 -0.0786)
OKLCHoklch(38.23% 0.085 292.7)
XYZxyz(6.6234, 5.2740, 14.8535)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45396C #606C39
analogous
#39466C #45396C #5F396C
triadic
#45396C #6C4539 #396C45
tetradic
#45396C #6C3946 #606C39 #396C5F
square
#45396C #6C3946 #606C39 #396C5F
split-complementary
#45396C #6C5F39 #466C39
monochromatic
#120F1C #2B2444 #45396C #5F4E94 #7D6DB2

Accessibility & contrast

On white

10.22
#45396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#45396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45396C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45396C#FFFFFF#000000##FFFFFF
##45396C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28426E
Deuteranopia (green-blind)
#2A406B
Tritanopia (blue-blind)
#3C434D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #45396c;
/* rgb */ color: rgb(69, 57, 108);
/* oklch */ color: oklch(38.2% 0.085 292.7);
Tailwind
colors: {
  custom: {
    50: '#7b6f96',
    500: '#45396c',
    950: '#000000',
  },
}
SCSS
$custom: #45396c;
$custom-light: #7b6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#45396c",
  "rgb": {
    "r": 69,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 254.118,
    "s": 30.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.08528,
    "h": 292.7
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#45396C
secondary
#8F9C65
accent
#C761AF
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #45396C

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

Preview Lab → · Contrast checker → · Palette generator →

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