#45225C#45225C

#45225C is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.103 H 309.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#45225C
RGBrgb(69, 34, 92)
HSLhsl(276, 46%, 25%)
HSVhsv(276, 63%, 36%)
CMYKcmyk(25%, 63%, 0%, 63.9%)
CIE-LABlab(20.76, 28.37, -28.27)
CIE-LCHlch(20.76, 40.05, 315.11°)
OKLaboklab(32.9% 0.0661 -0.0795)
OKLCHoklch(32.9% 0.103 309.7)
XYZxyz(4.9577, 3.1821, 10.4762)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45225C #395C22
analogous
#28225C #45225C #5C2256
triadic
#45225C #5C4522 #225C45
tetradic
#45225C #5C2822 #395C22 #22565C
square
#45225C #5C2822 #395C22 #22565C
split-complementary
#45225C #565C22 #225C28
monochromatic
#110816 #23112F #45225C #673389 #8843B5

Accessibility & contrast

On white

12.83
#45225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#45225C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45225C
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45225C#FFFFFF#000000##FFFFFF
##45225C1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D305E
Deuteranopia (green-blind)
#1B335B
Tritanopia (blue-blind)
#422D3B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #45225c;
/* rgb */ color: rgb(69, 34, 92);
/* oklch */ color: oklch(32.9% 0.103 309.7);
Tailwind
colors: {
  custom: {
    50: '#7b5f8a',
    500: '#45225c',
    950: '#000000',
  },
}
SCSS
$custom: #45225c;
$custom-light: #7b5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#45225c",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 276.207,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32898,
    "c": 0.10339,
    "h": 309.7
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#45225C
secondary
#66904A
accent
#D65286
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #45225C

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

Preview Lab → · Contrast checker → · Palette generator →

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