#45208A#45208A

#45208A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.162 H 292.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#45208A
RGBrgb(69, 32, 138)
HSLhsl(261, 62%, 33%)
HSVhsv(261, 77%, 54%)
CMYKcmyk(50%, 76.8%, 0%, 45.9%)
CIE-LABlab(24.11, 42.13, -52.40)
CIE-LCHlch(24.11, 67.23, 308.80°)
OKLaboklab(36.47% 0.0616 -0.1504)
OKLCHoklch(36.47% 0.162 292.3)
XYZxyz(7.5569, 4.1329, 24.4394)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45208A #658A20
analogous
#20308A #45208A #7A208A
triadic
#45208A #8A4520 #208A45
tetradic
#45208A #8A2030 #658A20 #208A7A
square
#45208A #8A2030 #658A20 #208A7A
split-complementary
#45208A #8A7A20 #308A20
monochromatic
#130927 #2C1458 #45208A #5E2CBC #7E4ED6

Accessibility & contrast

On white

11.50
#45208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45208A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45208A#FFFFFF#000000##FFFFFF
##45208A1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#2F3D53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #45208a;
/* rgb */ color: rgb(69, 32, 138);
/* oklch */ color: oklch(36.5% 0.162 292.3);
Tailwind
colors: {
  custom: {
    50: '#8060ad',
    500: '#45208a',
    950: '#000000',
  },
}
SCSS
$custom: #45208a;
$custom-light: #8060ad;
$custom-dark: #000000;
JSON
{
  "hex": "#45208a",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 260.943,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.16249,
    "h": 292.3
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#45208A
secondary
#93B94D
accent
#E542AD
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #45208A

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

Preview Lab → · Contrast checker → · Palette generator →

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