#45209C#45209C

#45209C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.183 H 287.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#45209C
RGBrgb(69, 32, 156)
HSLhsl(258, 66%, 37%)
HSVhsv(258, 79%, 61%)
CMYKcmyk(55.8%, 79.5%, 0%, 38.8%)
CIE-LABlab(25.86, 47.22, -60.64)
CIE-LCHlch(25.86, 76.86, 307.91°)
OKLaboklab(38.22% 0.0563 -0.1745)
OKLCHoklch(38.22% 0.183 287.9)
XYZxyz(8.9697, 4.6981, 31.8802)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45209C #779C20
analogous
#20399C #45209C #83209C
triadic
#45209C #9C4520 #209C45
tetradic
#45209C #9C2039 #779C20 #209C83
square
#45209C #9C2039 #779C20 #209C83
split-complementary
#45209C #9C8320 #399C20
monochromatic
#180B36 #2F1669 #45209C #5B2ACF #8159DD

Accessibility & contrast

On white

10.83
#45209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#45209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45209C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45209C#FFFFFF#000000##FFFFFF
##45209C1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#20445E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #45209c;
/* rgb */ color: rgb(69, 32, 156);
/* oklch */ color: oklch(38.2% 0.183 287.9);
Tailwind
colors: {
  custom: {
    50: '#8361ba',
    500: '#45209c',
    950: '#000000',
  },
}
SCSS
$custom: #45209c;
$custom-light: #8361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45209c",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 257.903,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38222,
    "c": 0.18336,
    "h": 287.9
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45209C

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

Preview Lab → · Contrast checker → · Palette generator →

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