#452176#452176

#452176 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.137 H 298.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#452176
RGBrgb(69, 33, 118)
HSLhsl(265, 56%, 30%)
HSVhsv(265, 72%, 46%)
CMYKcmyk(41.5%, 72%, 0%, 53.7%)
CIE-LABlab(22.52, 35.98, -42.36)
CIE-LCHlch(22.52, 55.58, 310.35°)
OKLaboklab(34.79% 0.0651 -0.1209)
OKLCHoklch(34.79% 0.137 298.3)
XYZxyz(6.2673, 3.6608, 17.5124)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452176 #527621
analogous
#212876 #452176 #702176
triadic
#452176 #764521 #217645
tetradic
#452176 #762128 #527621 #217670
square
#452176 #762128 #527621 #217670
split-complementary
#452176 #767021 #287621
monochromatic
#0E0718 #291446 #452176 #612EA6 #7F46CB

Accessibility & contrast

On white

12.12
#452176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#452176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452176
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452176#FFFFFF#000000##FFFFFF
##4521761.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#393549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452176;
/* rgb */ color: rgb(69, 33, 118);
/* oklch */ color: oklch(34.8% 0.137 298.3);
Tailwind
colors: {
  custom: {
    50: '#7d5f9e',
    500: '#452176',
    950: '#000000',
  },
}
SCSS
$custom: #452176;
$custom-light: #7d5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#452176",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 265.412,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34791,
    "c": 0.13732,
    "h": 298.3
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#452176
secondary
#81A94A
accent
#E0489F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452176

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

Preview Lab → · Contrast checker → · Palette generator →

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