#452173#452173

#452173 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.134 H 299.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#452173
RGBrgb(69, 33, 115)
HSLhsl(266, 55%, 29%)
HSVhsv(266, 71%, 45%)
CMYKcmyk(40%, 71.3%, 0%, 54.9%)
CIE-LABlab(22.27, 35.14, -40.84)
CIE-LCHlch(22.27, 53.88, 310.71°)
OKLaboklab(34.54% 0.0656 -0.1164)
OKLCHoklch(34.54% 0.134 299.4)
XYZxyz(6.0918, 3.5907, 16.5884)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452173 #4F7321
analogous
#212673 #452173 #6E2173
triadic
#452173 #734521 #217345
tetradic
#452173 #732126 #4F7321 #21736E
square
#452173 #732126 #4F7321 #21736E
split-complementary
#452173 #736E21 #267321
monochromatic
#0E0718 #281343 #452173 #622FA3 #7F45CA

Accessibility & contrast

On white

12.22
#452173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#452173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452173
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452173#FFFFFF#000000##FFFFFF
##4521731.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#3A3447
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #452173;
/* rgb */ color: rgb(69, 33, 115);
/* oklch */ color: oklch(34.5% 0.134 299.4);
Tailwind
colors: {
  custom: {
    50: '#7d5f9c',
    500: '#452173',
    950: '#000000',
  },
}
SCSS
$custom: #452173;
$custom-light: #7d5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#452173",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 266.341,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34536,
    "c": 0.13364,
    "h": 299.4
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#452173
secondary
#7EA649
accent
#DF499D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452173

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

Preview Lab → · Contrast checker → · Palette generator →

#452173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva