#452AA4#452AA4

#452AA4 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.183 H 284.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#452AA4
RGBrgb(69, 42, 164)
HSLhsl(253, 59%, 40%)
HSVhsv(253, 74%, 64%)
CMYKcmyk(57.9%, 74.4%, 0%, 35.7%)
CIE-LABlab(28.38, 44.59, -61.35)
CIE-LCHlch(28.38, 75.84, 306.01°)
OKLaboklab(40.23% 0.0467 -0.1767)
OKLCHoklch(40.23% 0.183 284.8)
XYZxyz(9.9810, 5.6009, 35.6699)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452AA4 #89A42A
analogous
#2A4CA4 #452AA4 #822AA4
triadic
#452AA4 #A4452A #2AA445
tetradic
#452AA4 #A42A4C #89A42A #2AA482
square
#452AA4 #A42A4C #89A42A #2AA482
split-complementary
#452AA4 #A4822A #4CA42A
monochromatic
#1C1143 #311E73 #452AA4 #5E3ECD #866EDA

Accessibility & contrast

On white

9.90
#452AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#452AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452AA4
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452AA4#FFFFFF#000000##FFFFFF
##452AA41.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#134C65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #452aa4;
/* rgb */ color: rgb(69, 42, 164);
/* oklch */ color: oklch(40.2% 0.183 284.8);
Tailwind
colors: {
  custom: {
    50: '#8467c0',
    500: '#452aa4',
    950: '#000000',
  },
}
SCSS
$custom: #452aa4;
$custom-light: #8467c0;
$custom-dark: #000000;
JSON
{
  "hex": "#452aa4",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 253.279,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.18275,
    "h": 284.8
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#452AA4
secondary
#ADC169
accent
#E245C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #452AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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