#452072#452072

#452072 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.134 H 300.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#452072
RGBrgb(69, 32, 114)
HSLhsl(267, 56%, 29%)
HSVhsv(267, 72%, 45%)
CMYKcmyk(39.5%, 71.9%, 0%, 55.3%)
CIE-LABlab(21.99, 35.41, -40.64)
CIE-LCHlch(21.99, 53.91, 311.06°)
OKLaboklab(34.31% 0.0669 -0.1159)
OKLCHoklch(34.31% 0.134 300)
XYZxyz(6.0073, 3.5131, 16.2779)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452072 #4D7220
analogous
#202472 #452072 #6E2072
triadic
#452072 #724520 #207245
tetradic
#452072 #722024 #4D7220 #20726E
square
#452072 #722024 #4D7220 #20726E
split-complementary
#452072 #726E20 #247220
monochromatic
#0E0718 #281342 #452072 #622DA2 #8042CA

Accessibility & contrast

On white

12.33
#452072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#452072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452072
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452072#FFFFFF#000000##FFFFFF
##4520721.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#3B3346
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #452072;
/* rgb */ color: rgb(69, 32, 114);
/* oklch */ color: oklch(34.3% 0.134 300.0);
Tailwind
colors: {
  custom: {
    50: '#7d5e9b',
    500: '#452072',
    950: '#000000',
  },
}
SCSS
$custom: #452072;
$custom-light: #7d5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#452072",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 267.073,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34312,
    "c": 0.1338,
    "h": 300
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#452072
secondary
#7BA648
accent
#DF489B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452072

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

Preview Lab → · Contrast checker → · Palette generator →

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