#452AAA#452AAA

#452AAA is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.190 H 283.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#452AAA
RGBrgb(69, 42, 170)
HSLhsl(253, 60%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(59.4%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.96, 46.39, -64.02)
CIE-LCHlch(28.96, 79.06, 305.93°)
OKLaboklab(40.81% 0.0453 -0.1845)
OKLCHoklch(40.81% 0.19 283.8)
XYZxyz(10.5357, 5.8227, 38.5911)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452AAA #8FAA2A
analogous
#2A4FAA #452AAA #852AAA
triadic
#452AAA #AA452A #2AAA45
tetradic
#452AAA #AA2A4F #8FAA2A #2AAA85
square
#452AAA #AA2A4F #8FAA2A #2AAA85
split-complementary
#452AAA #AA852A #4FAA2A
monochromatic
#1D1248 #311E79 #452AAA #5F41D0 #8972DC

Accessibility & contrast

On white

9.70
#452AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#452AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452AAA
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452AAA#FFFFFF#000000##FFFFFF
##452AAA1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#044E68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #452aaa;
/* rgb */ color: rgb(69, 42, 170);
/* oklch */ color: oklch(40.8% 0.190 283.8);
Tailwind
colors: {
  custom: {
    50: '#8567c4',
    500: '#452aaa',
    950: '#000000',
  },
}
SCSS
$custom: #452aaa;
$custom-light: #8567c4;
$custom-dark: #000000;
JSON
{
  "hex": "#452aaa",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 252.656,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40813,
    "c": 0.18994,
    "h": 283.8
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #452AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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