#45207D#45207D

#45207D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.147 H 296.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#45207D
RGBrgb(69, 32, 125)
HSLhsl(264, 59%, 31%)
HSVhsv(264, 74%, 49%)
CMYKcmyk(44.8%, 74.4%, 0%, 51%)
CIE-LABlab(22.93, 38.47, -46.15)
CIE-LCHlch(22.93, 60.08, 309.81°)
OKLaboklab(35.27% 0.0648 -0.132)
OKLCHoklch(35.27% 0.147 296.1)
XYZxyz(6.6714, 3.7788, 19.7759)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45207D #587D20
analogous
#20297D #45207D #73207D
triadic
#45207D #7D4520 #207D45
tetradic
#45207D #7D2029 #587D20 #207D73
square
#45207D #7D2029 #587D20 #207D73
split-complementary
#45207D #7D7320 #297D20
monochromatic
#0F071C #2A144C #45207D #602CAE #7E47D0

Accessibility & contrast

On white

11.96
#45207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#45207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45207D
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45207D#FFFFFF#000000##FFFFFF
##45207D1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#36384C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #45207d;
/* rgb */ color: rgb(69, 32, 125);
/* oklch */ color: oklch(35.3% 0.147 296.1);
Tailwind
colors: {
  custom: {
    50: '#7e5fa3',
    500: '#45207d',
    950: '#000000',
  },
}
SCSS
$custom: #45207d;
$custom-light: #7e5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#45207d",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 263.871,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35269,
    "c": 0.14707,
    "h": 296.1
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#45207D
secondary
#87B049
accent
#E245A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45207D

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

Preview Lab → · Contrast checker → · Palette generator →

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