#45205F#45205F

#45205F is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.8% C 0.110 H 308.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#45205F
RGBrgb(69, 32, 95)
HSLhsl(275, 50%, 25%)
HSVhsv(275, 66%, 37%)
CMYKcmyk(27.4%, 66.3%, 0%, 62.7%)
CIE-LABlab(20.54, 30.31, -30.61)
CIE-LCHlch(20.54, 43.08, 314.72°)
OKLaboklab(32.8% 0.0689 -0.0864)
OKLCHoklch(32.8% 0.11 308.6)
XYZxyz(5.0359, 3.1245, 11.1621)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45205F #3A5F20
analogous
#26205F #45205F #5F205A
triadic
#45205F #5F4520 #205F45
tetradic
#45205F #5F2620 #3A5F20 #205A5F
square
#45205F #5F2620 #3A5F20 #205A5F
split-complementary
#45205F #5A5F20 #205F26
monochromatic
#110817 #241131 #45205F #662F8D #883FBB

Accessibility & contrast

On white

12.92
#45205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#45205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45205F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45205F#FFFFFF#000000##FFFFFF
##45205F1.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#412C3C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #45205f;
/* rgb */ color: rgb(69, 32, 95);
/* oklch */ color: oklch(32.8% 0.110 308.6);
Tailwind
colors: {
  custom: {
    50: '#7b5e8d',
    500: '#45205f',
    950: '#000000',
  },
}
SCSS
$custom: #45205f;
$custom-light: #7b5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#45205f",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 275.238,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.11047,
    "h": 308.6
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#45205F
secondary
#679347
accent
#D94F88
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #45205F

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

Preview Lab → · Contrast checker → · Palette generator →

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