#45208C#45208C

#45208C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.165 H 291.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#45208C
RGBrgb(69, 32, 140)
HSLhsl(261, 63%, 34%)
HSVhsv(261, 77%, 55%)
CMYKcmyk(50.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(24.29, 42.69, -53.34)
CIE-LCHlch(24.29, 68.32, 308.68°)
OKLaboklab(36.66% 0.0611 -0.1531)
OKLCHoklch(36.66% 0.165 291.7)
XYZxyz(7.7030, 4.1914, 25.2090)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45208C #678C20
analogous
#20318C #45208C #7B208C
triadic
#45208C #8C4520 #208C45
tetradic
#45208C #8C2031 #678C20 #208C7B
square
#45208C #8C2031 #678C20 #208C7B
split-complementary
#45208C #8C7B20 #318C20
monochromatic
#140928 #2C155A #45208C #5E2BBE #7E50D7

Accessibility & contrast

On white

11.42
#45208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#45208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45208C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45208C#FFFFFF#000000##FFFFFF
##45208C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#2D3E55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45208c;
/* rgb */ color: rgb(69, 32, 140);
/* oklch */ color: oklch(36.7% 0.165 291.7);
Tailwind
colors: {
  custom: {
    50: '#8160af',
    500: '#45208c',
    950: '#000000',
  },
}
SCSS
$custom: #45208c;
$custom-light: #8160af;
$custom-dark: #000000;
JSON
{
  "hex": "#45208c",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 260.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.16484,
    "h": 291.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#45208C
secondary
#95BA4E
accent
#E642AE
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #45208C

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

Preview Lab → · Contrast checker → · Palette generator →

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