#45206F#45206F

#45206F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.130 H 301.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#45206F
RGBrgb(69, 32, 111)
HSLhsl(268, 55%, 28%)
HSVhsv(268, 71%, 44%)
CMYKcmyk(37.8%, 71.2%, 0%, 56.5%)
CIE-LABlab(21.75, 34.59, -39.11)
CIE-LCHlch(21.75, 52.21, 311.49°)
OKLaboklab(34.06% 0.0674 -0.1113)
OKLCHoklch(34.06% 0.13 301.2)
XYZxyz(5.8393, 3.4459, 15.3933)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45206F #4A6F20
analogous
#20226F #45206F #6C206F
triadic
#45206F #6F4520 #206F45
tetradic
#45206F #6F2022 #4A6F20 #206F6C
square
#45206F #6F2022 #4A6F20 #206F6C
split-complementary
#45206F #6F6C20 #226F20
monochromatic
#0F0718 #27123F #45206F #632E9F #8041C8

Accessibility & contrast

On white

12.43
#45206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#45206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45206F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45206F#FFFFFF#000000##FFFFFF
##45206F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45206f;
/* rgb */ color: rgb(69, 32, 111);
/* oklch */ color: oklch(34.1% 0.130 301.2);
Tailwind
colors: {
  custom: {
    50: '#7d5e99',
    500: '#45206f',
    950: '#000000',
  },
}
SCSS
$custom: #45206f;
$custom-light: #7d5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#45206f",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 268.101,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.13013,
    "h": 301.2
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#45206F
secondary
#78A348
accent
#DF4999
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #45206F

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

Preview Lab → · Contrast checker → · Palette generator →

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