#45337A#45337A

#45337A is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.0% C 0.116 H 291.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#45337A
RGBrgb(69, 51, 122)
HSLhsl(255, 41%, 34%)
HSVhsv(255, 58%, 48%)
CMYKcmyk(43.4%, 58.2%, 0%, 52.2%)
CIE-LABlab(26.84, 26.41, -37.90)
CIE-LCHlch(26.84, 46.20, 304.86°)
OKLaboklab(38.03% 0.0427 -0.1078)
OKLCHoklch(38.03% 0.116 291.6)
XYZxyz(7.1500, 5.0378, 19.0043)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45337A #687A33
analogous
#33457A #45337A #69337A
triadic
#45337A #7A4533 #337A45
tetradic
#45337A #7A3345 #687A33 #337A69
square
#45337A #7A3345 #687A33 #337A69
split-complementary
#45337A #7A6933 #457A33
monochromatic
#140F24 #2D214F #45337A #5D45A5 #7E68C0

Accessibility & contrast

On white

10.46
#45337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#45337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45337A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45337A#FFFFFF#000000##FFFFFF
##45337A1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417C
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#364251
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45337a;
/* rgb */ color: rgb(69, 51, 122);
/* oklch */ color: oklch(38.0% 0.116 291.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ba1',
    500: '#45337a',
    950: '#000000',
  },
}
SCSS
$custom: #45337a;
$custom-light: #7d6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#45337a",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 255.211,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.11596,
    "h": 291.6
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#45337A
secondary
#96A861
accent
#D157B2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #45337A

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

Preview Lab → · Contrast checker → · Palette generator →

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