#452C78#452C78

#452C78 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.6% C 0.124 H 294.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#452C78
RGBrgb(69, 44, 120)
HSLhsl(260, 46%, 32%)
HSVhsv(260, 63%, 47%)
CMYKcmyk(42.5%, 63.3%, 0%, 52.9%)
CIE-LABlab(25.02, 30.18, -39.57)
CIE-LCHlch(25.02, 49.77, 307.33°)
OKLaboklab(36.65% 0.0518 -0.1127)
OKLCHoklch(36.65% 0.124 294.7)
XYZxyz(6.7442, 4.4225, 18.2640)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C78 #5F782C
analogous
#2C3978 #452C78 #6B2C78
triadic
#452C78 #78452C #2C7845
tetradic
#452C78 #782C39 #5F782C #2C786B
square
#452C78 #782C39 #5F782C #2C786B
split-complementary
#452C78 #786B2C #39782C
monochromatic
#120B1E #2B1C4B #452C78 #5F3CA5 #7D5BC3

Accessibility & contrast

On white

11.14
#452C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#452C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C78
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C78#FFFFFF#000000##FFFFFF
##452C781.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#023A76
Tritanopia (blue-blind)
#383D4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #452c78;
/* rgb */ color: rgb(69, 44, 120);
/* oklch */ color: oklch(36.6% 0.124 294.7);
Tailwind
colors: {
  custom: {
    50: '#7d669f',
    500: '#452c78',
    950: '#000000',
  },
}
SCSS
$custom: #452c78;
$custom-light: #7d669f;
$custom-dark: #000000;
JSON
{
  "hex": "#452c78",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 259.737,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.12405,
    "h": 294.7
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#452C78
secondary
#8EA957
accent
#D652AB
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #452C78

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

Preview Lab → · Contrast checker → · Palette generator →

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