#45337D#45337D

#45337D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.3% C 0.120 H 290.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#45337D
RGBrgb(69, 51, 125)
HSLhsl(255, 42%, 35%)
HSVhsv(255, 59%, 49%)
CMYKcmyk(44.8%, 59.2%, 0%, 51%)
CIE-LABlab(27.06, 27.33, -39.45)
CIE-LCHlch(27.06, 47.99, 304.71°)
OKLaboklab(38.26% 0.0427 -0.1124)
OKLCHoklch(38.26% 0.12 290.8)
XYZxyz(7.3387, 5.1133, 19.9984)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45337D #6B7D33
analogous
#33467D #45337D #6A337D
triadic
#45337D #7D4533 #337D45
tetradic
#45337D #7D3346 #6B7D33 #337D6A
square
#45337D #7D3346 #6B7D33 #337D6A
split-complementary
#45337D #7D6A33 #467D33
monochromatic
#151026 #2D2152 #45337D #5D45A8 #7E69C2

Accessibility & contrast

On white

10.38
#45337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45337D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45337D#FFFFFF#000000##FFFFFF
##45337D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06417F
Deuteranopia (green-blind)
#0C3E7B
Tritanopia (blue-blind)
#354353
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45337d;
/* rgb */ color: rgb(69, 51, 125);
/* oklch */ color: oklch(38.3% 0.120 290.8);
Tailwind
colors: {
  custom: {
    50: '#7d6ba3',
    500: '#45337d',
    950: '#000000',
  },
}
SCSS
$custom: #45337d;
$custom-light: #7d6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#45337d",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 254.595,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.12023,
    "h": 290.8
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#45337D
secondary
#98AA62
accent
#D256B4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45337D

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

Preview Lab → · Contrast checker → · Palette generator →

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