#45205B#45205B

#45205B is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.106 H 310.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#45205B
RGBrgb(69, 32, 91)
HSLhsl(278, 48%, 24%)
HSVhsv(278, 65%, 36%)
CMYKcmyk(24.2%, 64.8%, 0%, 64.3%)
CIE-LABlab(20.26, 29.28, -28.41)
CIE-LCHlch(20.26, 40.80, 315.87°)
OKLaboklab(32.51% 0.069 -0.0799)
OKLCHoklch(32.51% 0.106 310.8)
XYZxyz(4.8587, 3.0537, 10.2290)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45205B #365B20
analogous
#28205B #45205B #5B2054
triadic
#45205B #5B4520 #205B45
tetradic
#45205B #5B2820 #365B20 #20545B
square
#45205B #5B2820 #365B20 #20545B
split-complementary
#45205B #545B20 #205B28
monochromatic
#110817 #23102E #45205B #673088 #8A40B6

Accessibility & contrast

On white

13.04
#45205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#45205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45205B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45205B#FFFFFF#000000##FFFFFF
##45205B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5D
Deuteranopia (green-blind)
#1A325A
Tritanopia (blue-blind)
#422B3A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #45205b;
/* rgb */ color: rgb(69, 32, 91);
/* oklch */ color: oklch(32.5% 0.106 310.8);
Tailwind
colors: {
  custom: {
    50: '#7b5e8a',
    500: '#45205b',
    950: '#000000',
  },
}
SCSS
$custom: #45205b;
$custom-light: #7b5e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#45205b",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 277.627,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32511,
    "c": 0.10554,
    "h": 310.8
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#45205B
secondary
#628F47
accent
#D85083
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #45205B

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

Preview Lab → · Contrast checker → · Palette generator →

#45205B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva