#45205C#45205C

#45205C is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.107 H 310.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#45205C
RGBrgb(69, 32, 92)
HSLhsl(277, 48%, 24%)
HSVhsv(277, 65%, 36%)
CMYKcmyk(25%, 65.2%, 0%, 63.9%)
CIE-LABlab(20.33, 29.54, -28.96)
CIE-LCHlch(20.33, 41.37, 315.57°)
OKLaboklab(32.58% 0.069 -0.0815)
OKLCHoklch(32.58% 0.107 310.2)
XYZxyz(4.9022, 3.0710, 10.4577)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45205C #375C20
analogous
#27205C #45205C #5C2055
triadic
#45205C #5C4520 #205C45
tetradic
#45205C #5C2720 #375C20 #20555C
square
#45205C #5C2720 #375C20 #20555C
split-complementary
#45205C #555C20 #205C27
monochromatic
#110817 #23102F #45205C #673089 #8940B7

Accessibility & contrast

On white

13.01
#45205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45205C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45205C#FFFFFF#000000##FFFFFF
##45205C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5E
Deuteranopia (green-blind)
#19325B
Tritanopia (blue-blind)
#422B3A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #45205c;
/* rgb */ color: rgb(69, 32, 92);
/* oklch */ color: oklch(32.6% 0.107 310.2);
Tailwind
colors: {
  custom: {
    50: '#7b5e8a',
    500: '#45205c',
    950: '#000000',
  },
}
SCSS
$custom: #45205c;
$custom-light: #7b5e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#45205c",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 277,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.10678,
    "h": 310.2
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#45205C
secondary
#639047
accent
#D85084
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #45205C

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

Preview Lab → · Contrast checker → · Palette generator →

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