#45209D#45209D

#45209D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.185 H 287.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#45209D
RGBrgb(69, 32, 157)
HSLhsl(258, 66%, 37%)
HSVhsv(258, 80%, 62%)
CMYKcmyk(56.1%, 79.6%, 0%, 38.4%)
CIE-LABlab(25.96, 47.51, -61.08)
CIE-LCHlch(25.96, 77.38, 307.87°)
OKLaboklab(38.32% 0.056 -0.1758)
OKLCHoklch(38.32% 0.185 287.7)
XYZxyz(9.0548, 4.7321, 32.3280)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45209D #789D20
analogous
#203A9D #45209D #84209D
triadic
#45209D #9D4520 #209D45
tetradic
#45209D #9D203A #789D20 #209D84
square
#45209D #9D203A #789D20 #209D84
split-complementary
#45209D #9D8420 #3A9D20
monochromatic
#180B37 #2F166A #45209D #5B2AD0 #815ADD

Accessibility & contrast

On white

10.79
#45209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#45209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45209D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45209D#FFFFFF#000000##FFFFFF
##45209D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#1E445E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #45209d;
/* rgb */ color: rgb(69, 32, 157);
/* oklch */ color: oklch(38.3% 0.185 287.7);
Tailwind
colors: {
  custom: {
    50: '#8361bb',
    500: '#45209d',
    950: '#000000',
  },
}
SCSS
$custom: #45209d;
$custom-light: #8361bb;
$custom-dark: #000000;
JSON
{
  "hex": "#45209d",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 257.76,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.18451,
    "h": 287.7
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#45209D
secondary
#A2C157
accent
#E93FB7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #45209D

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

Preview Lab → · Contrast checker → · Palette generator →

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