#45208E#45208E

#45208E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.167 H 291.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#45208E
RGBrgb(69, 32, 142)
HSLhsl(260, 63%, 34%)
HSVhsv(260, 77%, 56%)
CMYKcmyk(51.4%, 77.5%, 0%, 44.3%)
CIE-LABlab(24.48, 43.26, -54.27)
CIE-LCHlch(24.48, 69.40, 308.56°)
OKLaboklab(36.85% 0.0605 -0.1559)
OKLCHoklch(36.85% 0.167 291.2)
XYZxyz(7.8519, 4.2509, 25.9927)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45208E #698E20
analogous
#20328E #45208E #7C208E
triadic
#45208E #8E4520 #208E45
tetradic
#45208E #8E2032 #698E20 #208E7C
square
#45208E #8E2032 #698E20 #208E7C
split-complementary
#45208E #8E7C20 #328E20
monochromatic
#14092A #2D155C #45208E #5D2BC0 #7E51D8

Accessibility & contrast

On white

11.35
#45208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#45208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45208E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45208E#FFFFFF#000000##FFFFFF
##45208E1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#2C3E56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45208e;
/* rgb */ color: rgb(69, 32, 142);
/* oklch */ color: oklch(36.8% 0.167 291.2);
Tailwind
colors: {
  custom: {
    50: '#8160b0',
    500: '#45208e',
    950: '#000000',
  },
}
SCSS
$custom: #45208e;
$custom-light: #8160b0;
$custom-dark: #000000;
JSON
{
  "hex": "#45208e",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 260.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36847,
    "c": 0.16719,
    "h": 291.2
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#45208E
secondary
#97BB4F
accent
#E642AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #45208E

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

Preview Lab → · Contrast checker → · Palette generator →

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