#45208F#45208F

#45208F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.168 H 291.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#45208F
RGBrgb(69, 32, 143)
HSLhsl(260, 63%, 34%)
HSVhsv(260, 78%, 56%)
CMYKcmyk(51.7%, 77.6%, 0%, 43.9%)
CIE-LABlab(24.58, 43.54, -54.73)
CIE-LCHlch(24.58, 69.94, 308.51°)
OKLaboklab(36.94% 0.0602 -0.1572)
OKLCHoklch(36.94% 0.168 291)
XYZxyz(7.9273, 4.2811, 26.3899)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45208F #6A8F20
analogous
#20338F #45208F #7D208F
triadic
#45208F #8F4520 #208F45
tetradic
#45208F #8F2033 #6A8F20 #208F7D
square
#45208F #8F2033 #6A8F20 #208F7D
split-complementary
#45208F #8F7D20 #338F20
monochromatic
#150A2B #2D155D #45208F #5D2BC1 #7E51D8

Accessibility & contrast

On white

11.31
#45208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#45208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45208F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45208F#FFFFFF#000000##FFFFFF
##45208F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#2B3F56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45208f;
/* rgb */ color: rgb(69, 32, 143);
/* oklch */ color: oklch(36.9% 0.168 291.0);
Tailwind
colors: {
  custom: {
    50: '#8160b1',
    500: '#45208f',
    950: '#000000',
  },
}
SCSS
$custom: #45208f;
$custom-light: #8160b1;
$custom-dark: #000000;
JSON
{
  "hex": "#45208f",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 260,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36943,
    "c": 0.16835,
    "h": 291
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45208F

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

Preview Lab → · Contrast checker → · Palette generator →

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