#45207A#45207A

#45207A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.143 H 297.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#45207A
RGBrgb(69, 32, 122)
HSLhsl(265, 58%, 30%)
HSVhsv(265, 74%, 48%)
CMYKcmyk(43.4%, 73.8%, 0%, 52.2%)
CIE-LABlab(22.67, 37.63, -44.67)
CIE-LCHlch(22.67, 58.40, 310.11°)
OKLaboklab(35% 0.0654 -0.1277)
OKLCHoklch(35% 0.143 297.1)
XYZxyz(6.4827, 3.7033, 18.7818)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45207A #557A20
analogous
#20287A #45207A #72207A
triadic
#45207A #7A4520 #207A45
tetradic
#45207A #7A2028 #557A20 #207A72
square
#45207A #7A2028 #557A20 #207A72
split-complementary
#45207A #7A7220 #287A20
monochromatic
#0E0719 #2A134A #45207A #602DAA #7E46CE

Accessibility & contrast

On white

12.06
#45207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#45207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45207A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45207A#FFFFFF#000000##FFFFFF
##45207A1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#37364A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #45207a;
/* rgb */ color: rgb(69, 32, 122);
/* oklch */ color: oklch(35.0% 0.143 297.1);
Tailwind
colors: {
  custom: {
    50: '#7e5fa1',
    500: '#45207a',
    950: '#000000',
  },
}
SCSS
$custom: #45207a;
$custom-light: #7e5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#45207a",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 264.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35003,
    "c": 0.14347,
    "h": 297.1
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#45207A
secondary
#84AD49
accent
#E246A2
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45207A

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

Preview Lab → · Contrast checker → · Palette generator →

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