#452177#452177

#452177 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.139 H 298.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#452177
RGBrgb(69, 33, 119)
HSLhsl(265, 57%, 30%)
HSVhsv(265, 72%, 47%)
CMYKcmyk(42%, 72.3%, 0%, 53.3%)
CIE-LABlab(22.60, 36.26, -42.86)
CIE-LCHlch(22.60, 56.14, 310.23°)
OKLaboklab(34.88% 0.0649 -0.1224)
OKLCHoklch(34.88% 0.139 298)
XYZxyz(6.3270, 3.6847, 17.8271)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452177 #537721
analogous
#212877 #452177 #702177
triadic
#452177 #774521 #217745
tetradic
#452177 #772128 #537721 #217770
square
#452177 #772128 #537721 #217770
split-complementary
#452177 #777021 #287721
monochromatic
#0E0718 #291447 #452177 #612EA7 #7E47CC

Accessibility & contrast

On white

12.09
#452177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#452177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452177
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452177#FFFFFF#000000##FFFFFF
##4521771.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#393649
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452177;
/* rgb */ color: rgb(69, 33, 119);
/* oklch */ color: oklch(34.9% 0.139 298.0);
Tailwind
colors: {
  custom: {
    50: '#7e5f9f',
    500: '#452177',
    950: '#000000',
  },
}
SCSS
$custom: #452177;
$custom-light: #7e5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#452177",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 265.116,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.13854,
    "h": 298
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#452177
secondary
#82AA4A
accent
#E048A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452177

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

Preview Lab → · Contrast checker → · Palette generator →

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