#45225E#45225E

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

Color values

HEX#45225E
RGBrgb(69, 34, 94)
HSLhsl(275, 47%, 25%)
HSVhsv(275, 64%, 37%)
CMYKcmyk(26.6%, 63.8%, 0%, 63.1%)
CIE-LABlab(20.89, 28.89, -29.37)
CIE-LCHlch(20.89, 41.20, 314.53°)
OKLaboklab(33.04% 0.0661 -0.0828)
OKLCHoklch(33.04% 0.106 308.6)
XYZxyz(5.0462, 3.2175, 10.9427)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45225E #3B5E22
analogous
#27225E #45225E #5E2259
triadic
#45225E #5E4522 #225E45
tetradic
#45225E #5E2722 #3B5E22 #22595E
square
#45225E #5E2722 #3B5E22 #22595E
split-complementary
#45225E #595E22 #225E27
monochromatic
#100816 #241231 #45225E #66328B #8743B8

Accessibility & contrast

On white

12.78
#45225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45225E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45225E#FFFFFF#000000##FFFFFF
##45225E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3160
Deuteranopia (green-blind)
#1A335D
Tritanopia (blue-blind)
#412D3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #45225e;
/* rgb */ color: rgb(69, 34, 94);
/* oklch */ color: oklch(33.0% 0.106 308.6);
Tailwind
colors: {
  custom: {
    50: '#7b5f8c',
    500: '#45225e',
    950: '#000000',
  },
}
SCSS
$custom: #45225e;
$custom-light: #7b5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#45225e",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 275,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33041,
    "c": 0.1059,
    "h": 308.6
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#45225E
secondary
#68924A
accent
#D75189
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #45225E

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

Preview Lab → · Contrast checker → · Palette generator →

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