#45208B#45208B

#45208B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.164 H 292.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#45208B
RGBrgb(69, 32, 139)
HSLhsl(261, 63%, 34%)
HSVhsv(261, 77%, 55%)
CMYKcmyk(50.4%, 77%, 0%, 45.5%)
CIE-LABlab(24.20, 42.41, -52.87)
CIE-LCHlch(24.20, 67.78, 308.74°)
OKLaboklab(36.56% 0.0613 -0.1517)
OKLCHoklch(36.56% 0.164 292)
XYZxyz(7.6296, 4.1620, 24.8224)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45208B #668B20
analogous
#20308B #45208B #7A208B
triadic
#45208B #8B4520 #208B45
tetradic
#45208B #8B2030 #668B20 #208B7A
square
#45208B #8B2030 #668B20 #208B7A
split-complementary
#45208B #8B7A20 #308B20
monochromatic
#140928 #2C1559 #45208B #5E2BBD #7E4FD6

Accessibility & contrast

On white

11.46
#45208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#45208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45208B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45208B#FFFFFF#000000##FFFFFF
##45208B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#2E3D54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45208b;
/* rgb */ color: rgb(69, 32, 139);
/* oklch */ color: oklch(36.6% 0.164 292.0);
Tailwind
colors: {
  custom: {
    50: '#8060ae',
    500: '#45208b',
    950: '#000000',
  },
}
SCSS
$custom: #45208b;
$custom-light: #8060ae;
$custom-dark: #000000;
JSON
{
  "hex": "#45208b",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 260.748,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36561,
    "c": 0.16367,
    "h": 292
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#45208B
secondary
#94BA4D
accent
#E642AD
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #45208B

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

Preview Lab → · Contrast checker → · Palette generator →

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