#45208D#45208D

#45208D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.166 H 291.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#45208D
RGBrgb(69, 32, 141)
HSLhsl(260, 63%, 34%)
HSVhsv(260, 77%, 55%)
CMYKcmyk(51.1%, 77.3%, 0%, 44.7%)
CIE-LABlab(24.39, 42.98, -53.80)
CIE-LCHlch(24.39, 68.86, 308.62°)
OKLaboklab(36.75% 0.0608 -0.1545)
OKLCHoklch(36.75% 0.166 291.5)
XYZxyz(7.7771, 4.2210, 25.5991)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45208D #688D20
analogous
#20328D #45208D #7C208D
triadic
#45208D #8D4520 #208D45
tetradic
#45208D #8D2032 #688D20 #208D7C
square
#45208D #8D2032 #688D20 #208D7C
split-complementary
#45208D #8D7C20 #328D20
monochromatic
#140929 #2D155B #45208D #5D2BBF #7E50D7

Accessibility & contrast

On white

11.39
#45208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45208D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45208D#FFFFFF#000000##FFFFFF
##45208D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#2D3E55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45208d;
/* rgb */ color: rgb(69, 32, 141);
/* oklch */ color: oklch(36.8% 0.166 291.5);
Tailwind
colors: {
  custom: {
    50: '#8160af',
    500: '#45208d',
    950: '#000000',
  },
}
SCSS
$custom: #45208d;
$custom-light: #8160af;
$custom-dark: #000000;
JSON
{
  "hex": "#45208d",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 260.367,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.16601,
    "h": 291.5
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45208D

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

Preview Lab → · Contrast checker → · Palette generator →

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