#452AAB#452AAB

#452AAB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.191 H 283.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#452AAB
RGBrgb(69, 42, 171)
HSLhsl(253, 61%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(59.6%, 75.4%, 0%, 32.9%)
CIE-LABlab(29.06, 46.69, -64.46)
CIE-LCHlch(29.06, 79.59, 305.91°)
OKLaboklab(40.91% 0.045 -0.1858)
OKLCHoklch(40.91% 0.191 283.6)
XYZxyz(10.6306, 5.8607, 39.0912)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452AAB #90AB2A
analogous
#2A50AB #452AAB #862AAB
triadic
#452AAB #AB452A #2AAB45
tetradic
#452AAB #AB2A50 #90AB2A #2AAB86
square
#452AAB #AB2A50 #90AB2A #2AAB86
split-complementary
#452AAB #AB862A #50AB2A
monochromatic
#1D1249 #311E7A #452AAB #6042D1 #8973DD

Accessibility & contrast

On white

9.67
#452AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#452AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452AAB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452AAB#FFFFFF#000000##FFFFFF
##452AAB1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #452aab;
/* rgb */ color: rgb(69, 42, 171);
/* oklch */ color: oklch(40.9% 0.191 283.6);
Tailwind
colors: {
  custom: {
    50: '#8567c5',
    500: '#452aab',
    950: '#000000',
  },
}
SCSS
$custom: #452aab;
$custom-light: #8567c5;
$custom-dark: #000000;
JSON
{
  "hex": "#452aab",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 252.558,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.19114,
    "h": 283.6
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#452AAB
secondary
#B2C46D
accent
#E444C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #452AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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