#45225D#45225D

#45225D is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.105 H 309.2°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#45225D
RGBrgb(69, 34, 93)
HSLhsl(276, 46%, 25%)
HSVhsv(276, 63%, 36%)
CMYKcmyk(25.8%, 63.4%, 0%, 63.5%)
CIE-LABlab(20.83, 28.63, -28.82)
CIE-LCHlch(20.83, 40.63, 314.81°)
OKLaboklab(32.97% 0.0661 -0.0811)
OKLCHoklch(32.97% 0.105 309.2)
XYZxyz(5.0017, 3.1997, 10.7079)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45225D #3A5D22
analogous
#27225D #45225D #5D2258
triadic
#45225D #5D4522 #225D45
tetradic
#45225D #5D2722 #3A5D22 #22585D
square
#45225D #5D2722 #3A5D22 #22585D
split-complementary
#45225D #585D22 #225D27
monochromatic
#110816 #241230 #45225D #66328A #8843B7

Accessibility & contrast

On white

12.80
#45225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45225D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45225D#FFFFFF#000000##FFFFFF
##45225D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B315F
Deuteranopia (green-blind)
#1B335C
Tritanopia (blue-blind)
#422D3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #45225d;
/* rgb */ color: rgb(69, 34, 93);
/* oklch */ color: oklch(33.0% 0.105 309.2);
Tailwind
colors: {
  custom: {
    50: '#7b5f8b',
    500: '#45225d',
    950: '#000000',
  },
}
SCSS
$custom: #45225d;
$custom-light: #7b5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#45225d",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 275.593,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.10464,
    "h": 309.2
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#45225D
secondary
#67914A
accent
#D65288
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #45225D

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

Preview Lab → · Contrast checker → · Palette generator →

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