#45207C#45207C

#45207C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.146 H 296.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#45207C
RGBrgb(69, 32, 124)
HSLhsl(264, 59%, 31%)
HSVhsv(264, 74%, 49%)
CMYKcmyk(44.4%, 74.2%, 0%, 51.4%)
CIE-LABlab(22.84, 38.19, -45.66)
CIE-LCHlch(22.84, 59.52, 309.91°)
OKLaboklab(35.18% 0.065 -0.1306)
OKLCHoklch(35.18% 0.146 296.5)
XYZxyz(6.6079, 3.7533, 19.4412)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45207C #577C20
analogous
#20297C #45207C #73207C
triadic
#45207C #7C4520 #207C45
tetradic
#45207C #7C2029 #577C20 #207C73
square
#45207C #7C2029 #577C20 #207C73
split-complementary
#45207C #7C7320 #297C20
monochromatic
#0F071B #2A134B #45207C #602DAD #7E47CF

Accessibility & contrast

On white

12.00
#45207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45207C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45207C#FFFFFF#000000##FFFFFF
##45207C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#37374C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #45207c;
/* rgb */ color: rgb(69, 32, 124);
/* oklch */ color: oklch(35.2% 0.146 296.5);
Tailwind
colors: {
  custom: {
    50: '#7e5fa3',
    500: '#45207c',
    950: '#000000',
  },
}
SCSS
$custom: #45207c;
$custom-light: #7e5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#45207c",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 264.13,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3518,
    "c": 0.14588,
    "h": 296.5
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#45207C
secondary
#86AF49
accent
#E246A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45207C

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

Preview Lab → · Contrast checker → · Palette generator →

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