#452CA4#452CA4

#452CA4 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.181 H 284.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#452CA4
RGBrgb(69, 44, 164)
HSLhsl(253, 58%, 41%)
HSVhsv(253, 73%, 64%)
CMYKcmyk(57.9%, 73.2%, 0%, 35.7%)
CIE-LABlab(28.76, 43.52, -60.73)
CIE-LCHlch(28.76, 74.71, 305.63°)
OKLaboklab(40.5% 0.0452 -0.1748)
OKLCHoklch(40.5% 0.181 284.5)
XYZxyz(10.0537, 5.7463, 35.6941)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452CA4 #8BA42C
analogous
#2C4FA4 #452CA4 #812CA4
triadic
#452CA4 #A4452C #2CA445
tetradic
#452CA4 #A42C4F #8BA42C #2CA481
square
#452CA4 #A42C4F #8BA42C #2CA481
split-complementary
#452CA4 #A4812C #4FA42C
monochromatic
#1C1243 #311F74 #452CA4 #5E41CC #8771D9

Accessibility & contrast

On white

9.77
#452CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#452CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452CA4
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452CA4#FFFFFF#000000##FFFFFF
##452CA41.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#134D65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #452ca4;
/* rgb */ color: rgb(69, 44, 164);
/* oklch */ color: oklch(40.5% 0.181 284.5);
Tailwind
colors: {
  custom: {
    50: '#8468c0',
    500: '#452ca4',
    950: '#000000',
  },
}
SCSS
$custom: #452ca4;
$custom-light: #8468c0;
$custom-dark: #000000;
JSON
{
  "hex": "#452ca4",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 252.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.18059,
    "h": 284.5
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#452CA4
secondary
#AFC06B
accent
#E147C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #452CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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