#452CAB#452CAB

#452CAB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.189 H 283.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#452CAB
RGBrgb(69, 44, 171)
HSLhsl(252, 59%, 42%)
HSVhsv(252, 74%, 67%)
CMYKcmyk(59.6%, 74.3%, 0%, 32.9%)
CIE-LABlab(29.43, 45.64, -63.85)
CIE-LCHlch(29.43, 78.49, 305.56°)
OKLaboklab(41.17% 0.0436 -0.184)
OKLCHoklch(41.17% 0.189 283.3)
XYZxyz(10.7033, 6.0061, 39.1155)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452CAB #92AB2C
analogous
#2C53AB #452CAB #852CAB
triadic
#452CAB #AB452C #2CAB45
tetradic
#452CAB #AB2C53 #92AB2C #2CAB85
square
#452CAB #AB2C53 #92AB2C #2CAB85
split-complementary
#452CAB #AB852C #53AB2C
monochromatic
#1E134A #311F7A #452CAB #6045CF #8A76DC

Accessibility & contrast

On white

9.54
#452CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#452CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452CAB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452CAB#FFFFFF#000000##FFFFFF
##452CAB1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #452cab;
/* rgb */ color: rgb(69, 44, 171);
/* oklch */ color: oklch(41.2% 0.189 283.3);
Tailwind
colors: {
  custom: {
    50: '#8568c5',
    500: '#452cab',
    950: '#000000',
  },
}
SCSS
$custom: #452cab;
$custom-light: #8568c5;
$custom-dark: #000000;
JSON
{
  "hex": "#452cab",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 251.811,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.18909,
    "h": 283.3
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#452CAB
secondary
#B3C36F
accent
#E246C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #452CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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