#45337C#45337C

#45337C is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.119 H 291.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#45337C
RGBrgb(69, 51, 124)
HSLhsl(255, 42%, 34%)
HSVhsv(255, 59%, 49%)
CMYKcmyk(44.4%, 58.9%, 0%, 51.4%)
CIE-LABlab(26.98, 27.02, -38.94)
CIE-LCHlch(26.98, 47.39, 304.76°)
OKLaboklab(38.18% 0.0427 -0.1109)
OKLCHoklch(38.18% 0.119 291.1)
XYZxyz(7.2752, 5.0879, 19.6636)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45337C #6A7C33
analogous
#33467C #45337C #6A337C
triadic
#45337C #7C4533 #337C45
tetradic
#45337C #7C3346 #6A7C33 #337C6A
square
#45337C #7C3346 #6A7C33 #337C6A
split-complementary
#45337C #7C6A33 #467C33
monochromatic
#150F25 #2D2151 #45337C #5D45A7 #7E68C1

Accessibility & contrast

On white

10.41
#45337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#45337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45337C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45337C#FFFFFF#000000##FFFFFF
##45337C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417E
Deuteranopia (green-blind)
#0E3E7A
Tritanopia (blue-blind)
#354352
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45337c;
/* rgb */ color: rgb(69, 51, 124);
/* oklch */ color: oklch(38.2% 0.119 291.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ba2',
    500: '#45337c',
    950: '#000000',
  },
}
SCSS
$custom: #45337c;
$custom-light: #7d6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#45337c",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 254.795,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.1188,
    "h": 291.1
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#45337C
secondary
#97A962
accent
#D256B3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45337C

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

Preview Lab → · Contrast checker → · Palette generator →

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