#45209B#45209B

#45209B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.182 H 288.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#45209B
RGBrgb(69, 32, 155)
HSLhsl(258, 66%, 37%)
HSVhsv(258, 79%, 61%)
CMYKcmyk(55.5%, 79.4%, 0%, 39.2%)
CIE-LABlab(25.76, 46.94, -60.19)
CIE-LCHlch(25.76, 76.33, 307.95°)
OKLaboklab(38.12% 0.0566 -0.1732)
OKLCHoklch(38.12% 0.182 288.1)
XYZxyz(8.8854, 4.6643, 31.4361)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45209B #769B20
analogous
#20399B #45209B #83209B
triadic
#45209B #9B4520 #209B45
tetradic
#45209B #9B2039 #769B20 #209B83
square
#45209B #9B2039 #769B20 #209B83
split-complementary
#45209B #9B8320 #399B20
monochromatic
#180B36 #2E1668 #45209B #5C2ACE #8059DD

Accessibility & contrast

On white

10.86
#45209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45209B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45209B#FFFFFF#000000##FFFFFF
##45209B1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#21445D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #45209b;
/* rgb */ color: rgb(69, 32, 155);
/* oklch */ color: oklch(38.1% 0.182 288.1);
Tailwind
colors: {
  custom: {
    50: '#8361ba',
    500: '#45209b',
    950: '#000000',
  },
}
SCSS
$custom: #45209b;
$custom-light: #8361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45209b",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 258.049,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38121,
    "c": 0.18222,
    "h": 288.1
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#45209B
secondary
#A1C156
accent
#E93FB6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #45209B

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

Preview Lab → · Contrast checker → · Palette generator →

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