#452A79#452A79

#452A79 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.128 H 295.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#452A79
RGBrgb(69, 42, 121)
HSLhsl(261, 48%, 32%)
HSVhsv(261, 65%, 47%)
CMYKcmyk(43%, 65.3%, 0%, 52.5%)
CIE-LABlab(24.64, 31.69, -40.82)
CIE-LCHlch(24.64, 51.68, 307.82°)
OKLaboklab(36.4% 0.0542 -0.1164)
OKLCHoklch(36.4% 0.128 295)
XYZxyz(6.7325, 4.3015, 18.5610)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A79 #5E792A
analogous
#2A3779 #452A79 #6D2A79
triadic
#452A79 #79452A #2A7945
tetradic
#452A79 #792A37 #5E792A #2A796D
square
#452A79 #792A37 #5E792A #2A796D
split-complementary
#452A79 #796D2A #37792A
monochromatic
#110A1E #2B1A4C #452A79 #5F3AA6 #7D58C5

Accessibility & contrast

On white

11.29
#452A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#452A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A79
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A79#FFFFFF#000000##FFFFFF
##452A791.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#373C4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #452a79;
/* rgb */ color: rgb(69, 42, 121);
/* oklch */ color: oklch(36.4% 0.128 295.0);
Tailwind
colors: {
  custom: {
    50: '#7d65a0',
    500: '#452a79',
    950: '#000000',
  },
}
SCSS
$custom: #452a79;
$custom-light: #7d65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#452a79",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 260.506,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36398,
    "c": 0.12839,
    "h": 295
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#452A79
secondary
#8DAB54
accent
#D850A9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #452A79

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

Preview Lab → · Contrast checker → · Palette generator →

#452A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva