#45209A#45209A

#45209A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.181 H 288.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#45209A
RGBrgb(69, 32, 154)
HSLhsl(258, 66%, 36%)
HSVhsv(258, 79%, 60%)
CMYKcmyk(55.2%, 79.2%, 0%, 39.6%)
CIE-LABlab(25.66, 46.66, -59.74)
CIE-LCHlch(25.66, 75.81, 307.99°)
OKLaboklab(38.02% 0.0569 -0.1719)
OKLCHoklch(38.02% 0.181 288.3)
XYZxyz(8.8018, 4.6309, 30.9956)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45209A #759A20
analogous
#20389A #45209A #82209A
triadic
#45209A #9A4520 #209A45
tetradic
#45209A #9A2038 #759A20 #209A82
square
#45209A #9A2038 #759A20 #209A82
split-complementary
#45209A #9A8220 #389A20
monochromatic
#180B35 #2E1567 #45209A #5C2BCD #8058DC

Accessibility & contrast

On white

10.90
#45209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#45209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45209A
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45209A#FFFFFF#000000##FFFFFF
##45209A1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#22435D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #45209a;
/* rgb */ color: rgb(69, 32, 154);
/* oklch */ color: oklch(38.0% 0.181 288.3);
Tailwind
colors: {
  custom: {
    50: '#8361b9',
    500: '#45209a',
    950: '#000000',
  },
}
SCSS
$custom: #45209a;
$custom-light: #8361b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45209a",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 258.197,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.18108,
    "h": 288.3
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#45209A
secondary
#A0C056
accent
#E93FB5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #45209A

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

Preview Lab → · Contrast checker → · Palette generator →

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