#45206E#45206E

#45206E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.129 H 301.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#45206E
RGBrgb(69, 32, 110)
HSLhsl(268, 55%, 28%)
HSVhsv(268, 71%, 43%)
CMYKcmyk(37.3%, 70.9%, 0%, 56.9%)
CIE-LABlab(21.67, 34.31, -38.59)
CIE-LCHlch(21.67, 51.64, 311.64°)
OKLaboklab(33.98% 0.0675 -0.1098)
OKLCHoklch(33.98% 0.129 301.6)
XYZxyz(5.7846, 3.4240, 15.1050)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45206E #496E20
analogous
#20226E #45206E #6C206E
triadic
#45206E #6E4520 #206E45
tetradic
#45206E #6E2022 #496E20 #206E6C
square
#45206E #6E2022 #496E20 #206E6C
split-complementary
#45206E #6E6C20 #226E20
monochromatic
#0F0718 #27123F #45206E #632E9D #8141C8

Accessibility & contrast

On white

12.46
#45206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#45206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45206E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45206E#FFFFFF#000000##FFFFFF
##45206E1.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#3C3244
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #45206e;
/* rgb */ color: rgb(69, 32, 110);
/* oklch */ color: oklch(34.0% 0.129 301.6);
Tailwind
colors: {
  custom: {
    50: '#7d5e98',
    500: '#45206e',
    950: '#000000',
  },
}
SCSS
$custom: #45206e;
$custom-light: #7d5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#45206e",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 268.462,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33978,
    "c": 0.12891,
    "h": 301.6
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#45206E
secondary
#77A248
accent
#DE4A98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #45206E

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

Preview Lab → · Contrast checker → · Palette generator →

#45206E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva