#45337B#45337B

#45337B is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.1% C 0.117 H 291.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#45337B
RGBrgb(69, 51, 123)
HSLhsl(255, 41%, 34%)
HSVhsv(255, 59%, 48%)
CMYKcmyk(43.9%, 58.5%, 0%, 51.8%)
CIE-LABlab(26.91, 26.71, -38.42)
CIE-LCHlch(26.91, 46.80, 304.81°)
OKLaboklab(38.11% 0.0427 -0.1093)
OKLCHoklch(38.11% 0.117 291.3)
XYZxyz(7.2122, 5.0627, 19.3322)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45337B #697B33
analogous
#33457B #45337B #69337B
triadic
#45337B #7B4533 #337B45
tetradic
#45337B #7B3345 #697B33 #337B69
square
#45337B #7B3345 #697B33 #337B69
split-complementary
#45337B #7B6933 #457B33
monochromatic
#140F24 #2D2150 #45337B #5D45A6 #7E68C0

Accessibility & contrast

On white

10.43
#45337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45337B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45337B#FFFFFF#000000##FFFFFF
##45337B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417D
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#364352
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45337b;
/* rgb */ color: rgb(69, 51, 123);
/* oklch */ color: oklch(38.1% 0.117 291.3);
Tailwind
colors: {
  custom: {
    50: '#7d6ba2',
    500: '#45337b',
    950: '#000000',
  },
}
SCSS
$custom: #45337b;
$custom-light: #7d6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#45337b",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 255,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.11739,
    "h": 291.3
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#45337B
secondary
#97A862
accent
#D157B3
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45337B

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

Preview Lab → · Contrast checker → · Palette generator →

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