#452A84#452A84

#452A84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.143 H 291.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#452A84
RGBrgb(69, 42, 132)
HSLhsl(258, 52%, 34%)
HSVhsv(258, 68%, 52%)
CMYKcmyk(47.7%, 68.2%, 0%, 48.2%)
CIE-LABlab(25.52, 34.96, -46.33)
CIE-LCHlch(25.52, 58.04, 307.04°)
OKLaboklab(37.31% 0.053 -0.1326)
OKLCHoklch(37.31% 0.143 291.8)
XYZxyz(7.4459, 4.5868, 22.3183)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A84 #69842A
analogous
#2A3C84 #452A84 #722A84
triadic
#452A84 #84452A #2A8445
tetradic
#452A84 #842A3C #69842A #2A8472
square
#452A84 #842A3C #69842A #2A8472
split-complementary
#452A84 #84722A #3C842A
monochromatic
#140C27 #2D1B56 #452A84 #5D39B2 #7E5DCB

Accessibility & contrast

On white

10.95
#452A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#452A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A84
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A84#FFFFFF#000000##FFFFFF
##452A841.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#324053
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #452a84;
/* rgb */ color: rgb(69, 42, 132);
/* oklch */ color: oklch(37.3% 0.143 291.8);
Tailwind
colors: {
  custom: {
    50: '#7f65a8',
    500: '#452a84',
    950: '#000000',
  },
}
SCSS
$custom: #452a84;
$custom-light: #7f65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#452a84",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 258,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37311,
    "c": 0.14278,
    "h": 291.8
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#452A84
secondary
#97B159
accent
#DB4DB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #452A84

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

Preview Lab → · Contrast checker → · Palette generator →

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