#452978#452978

#452978 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.129 H 295.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#452978
RGBrgb(69, 41, 120)
HSLhsl(261, 49%, 32%)
HSVhsv(261, 66%, 47%)
CMYKcmyk(42.5%, 65.8%, 0%, 52.9%)
CIE-LABlab(24.34, 31.99, -40.67)
CIE-LCHlch(24.34, 51.74, 308.19°)
OKLaboklab(36.16% 0.0555 -0.1159)
OKLCHoklch(36.16% 0.129 295.6)
XYZxyz(6.6365, 4.2070, 18.2280)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452978 #5C7829
analogous
#293578 #452978 #6D2978
triadic
#452978 #784529 #297845
tetradic
#452978 #782935 #5C7829 #29786D
square
#452978 #782935 #5C7829 #29786D
split-complementary
#452978 #786D29 #357829
monochromatic
#110A1D #2B194A #452978 #5F39A6 #7E56C5

Accessibility & contrast

On white

11.40
#452978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#452978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452978
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452978#FFFFFF#000000##FFFFFF
##4529781.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#383B4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #452978;
/* rgb */ color: rgb(69, 41, 120);
/* oklch */ color: oklch(36.2% 0.129 295.6);
Tailwind
colors: {
  custom: {
    50: '#7d64a0',
    500: '#452978',
    950: '#000000',
  },
}
SCSS
$custom: #452978;
$custom-light: #7d64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#452978",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 261.266,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36156,
    "c": 0.12854,
    "h": 295.6
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#452978
secondary
#8BAA53
accent
#D94FA8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #452978

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

Preview Lab → · Contrast checker → · Palette generator →

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