#452579#452579

#452579 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.136 H 296.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#452579
RGBrgb(69, 37, 121)
HSLhsl(263, 53%, 31%)
HSVhsv(263, 69%, 47%)
CMYKcmyk(43%, 69.4%, 0%, 52.5%)
CIE-LABlab(23.57, 34.61, -42.56)
CIE-LCHlch(23.57, 54.86, 309.12°)
OKLaboklab(35.62% 0.0601 -0.1215)
OKLCHoklch(35.62% 0.136 296.3)
XYZxyz(6.5661, 3.9687, 18.5055)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452579 #597925
analogous
#252F79 #452579 #6F2579
triadic
#452579 #794525 #257945
tetradic
#452579 #79252F #597925 #25796F
square
#452579 #79252F #597925 #25796F
split-complementary
#452579 #796F25 #2F7925
monochromatic
#10081B #2A174A #452579 #6033A8 #7E4FC9

Accessibility & contrast

On white

11.71
#452579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#452579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452579
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452579#FFFFFF#000000##FFFFFF
##4525791.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#38394B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #452579;
/* rgb */ color: rgb(69, 37, 121);
/* oklch */ color: oklch(35.6% 0.136 296.3);
Tailwind
colors: {
  custom: {
    50: '#7d62a0',
    500: '#452579',
    950: '#000000',
  },
}
SCSS
$custom: #452579;
$custom-light: #7d62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#452579",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 262.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35621,
    "c": 0.13557,
    "h": 296.3
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#452579
secondary
#88AB4E
accent
#DD4BA5
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #452579

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

Preview Lab → · Contrast checker → · Palette generator →

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