#452878#452878

#452878 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.130 H 295.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#452878
RGBrgb(69, 40, 120)
HSLhsl(262, 50%, 31%)
HSVhsv(262, 67%, 47%)
CMYKcmyk(42.5%, 66.7%, 0%, 52.9%)
CIE-LABlab(24.12, 32.58, -41.02)
CIE-LCHlch(24.12, 52.39, 308.46°)
OKLaboklab(36% 0.0567 -0.117)
OKLCHoklch(36% 0.13 295.9)
XYZxyz(6.6023, 4.1387, 18.2167)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452878 #5B7828
analogous
#283378 #452878 #6D2878
triadic
#452878 #784528 #287845
tetradic
#452878 #782833 #5B7828 #28786D
square
#452878 #782833 #5B7828 #28786D
split-complementary
#452878 #786D28 #337828
monochromatic
#10091C #2B194A #452878 #5F37A6 #7E54C6

Accessibility & contrast

On white

11.49
#452878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#452878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##452878#FFFFFF#000000##FFFFFF
##4528781.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)
#003A7A
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#383A4C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452878;
/* rgb */ color: rgb(69, 40, 120);
/* oklch */ color: oklch(36.0% 0.130 295.9);
Tailwind
colors: {
  custom: {
    50: '#7d64a0',
    500: '#452878',
    950: '#000000',
  },
}
SCSS
$custom: #452878;
$custom-light: #7d64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#452878",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 261.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35997,
    "c": 0.13001,
    "h": 295.9
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#452878
secondary
#8AAA52
accent
#DA4EA7
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #452878

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

Preview Lab → · Contrast checker → · Palette generator →

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