#452A72#452A72

#452A72 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.119 H 297.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#452A72
RGBrgb(69, 42, 114)
HSLhsl(263, 46%, 31%)
HSVhsv(263, 63%, 45%)
CMYKcmyk(39.5%, 63.2%, 0%, 55.3%)
CIE-LABlab(24.12, 29.64, -37.21)
CIE-LCHlch(24.12, 47.57, 308.54°)
OKLaboklab(35.85% 0.0546 -0.1058)
OKLCHoklch(35.85% 0.119 297.3)
XYZxyz(6.3187, 4.1359, 16.3817)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A72 #57722A
analogous
#2A3372 #452A72 #692A72
triadic
#452A72 #72452A #2A7245
tetradic
#452A72 #722A33 #57722A #2A7269
square
#452A72 #722A33 #57722A #2A7269
split-complementary
#452A72 #72692A #33722A
monochromatic
#0F0919 #2A1A45 #452A72 #603A9F #7E56C1

Accessibility & contrast

On white

11.49
#452A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#452A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A72
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A72#FFFFFF#000000##FFFFFF
##452A721.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#0B3870
Tritanopia (blue-blind)
#3A3A49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452a72;
/* rgb */ color: rgb(69, 42, 114);
/* oklch */ color: oklch(35.8% 0.119 297.3);
Tailwind
colors: {
  custom: {
    50: '#7c659b',
    500: '#452a72',
    950: '#000000',
  },
}
SCSS
$custom: #452a72;
$custom-light: #7c659b;
$custom-dark: #000000;
JSON
{
  "hex": "#452a72",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 262.5,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.11905,
    "h": 297.3
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#452A72
secondary
#86A454
accent
#D652A4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #452A72

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

Preview Lab → · Contrast checker → · Palette generator →

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