#45207B#45207B

#45207B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.145 H 296.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#45207B
RGBrgb(69, 32, 123)
HSLhsl(264, 59%, 30%)
HSVhsv(264, 74%, 48%)
CMYKcmyk(43.9%, 74%, 0%, 51.8%)
CIE-LABlab(22.75, 37.91, -45.16)
CIE-LCHlch(22.75, 58.96, 310.01°)
OKLaboklab(35.09% 0.0652 -0.1291)
OKLCHoklch(35.09% 0.145 296.8)
XYZxyz(6.5450, 3.7282, 19.1098)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45207B #567B20
analogous
#20287B #45207B #73207B
triadic
#45207B #7B4520 #207B45
tetradic
#45207B #7B2028 #567B20 #207B73
square
#45207B #7B2028 #567B20 #207B73
split-complementary
#45207B #7B7320 #287B20
monochromatic
#0F071A #2A134A #45207B #602DAC #7E46CF

Accessibility & contrast

On white

12.03
#45207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#45207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45207B
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45207B#FFFFFF#000000##FFFFFF
##45207B1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#37374B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #45207b;
/* rgb */ color: rgb(69, 32, 123);
/* oklch */ color: oklch(35.1% 0.145 296.8);
Tailwind
colors: {
  custom: {
    50: '#7e5fa2',
    500: '#45207b',
    950: '#000000',
  },
}
SCSS
$custom: #45207b;
$custom-light: #7e5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#45207b",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 264.396,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35091,
    "c": 0.14467,
    "h": 296.8
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#45207B
secondary
#85AE49
accent
#E246A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45207B

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

Preview Lab → · Contrast checker → · Palette generator →

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