#452EA2#452EA2

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

Color values

HEX#452EA2
RGBrgb(69, 46, 162)
HSLhsl(252, 56%, 41%)
HSVhsv(252, 72%, 64%)
CMYKcmyk(57.4%, 71.6%, 0%, 36.5%)
CIE-LABlab(28.97, 41.81, -59.17)
CIE-LCHlch(28.97, 72.45, 305.24°)
OKLaboklab(40.59% 0.044 -0.1703)
OKLCHoklch(40.59% 0.176 284.5)
XYZxyz(9.9508, 5.8272, 34.7758)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452EA2 #8BA22E
analogous
#2E51A2 #452EA2 #7F2EA2
triadic
#452EA2 #A2452E #2EA245
tetradic
#452EA2 #A22E51 #8BA22E #2EA27F
square
#452EA2 #A22E51 #8BA22E #2EA27F
split-complementary
#452EA2 #A27F2E #51A22E
monochromatic
#1C1343 #312072 #452EA2 #5E43CA #8773D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##452EA2#FFFFFF#000000##FFFFFF
##452EA21.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#164D65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #452ea2;
/* rgb */ color: rgb(69, 46, 162);
/* oklch */ color: oklch(40.6% 0.176 284.5);
Tailwind
colors: {
  custom: {
    50: '#8369bf',
    500: '#452ea2',
    950: '#000000',
  },
}
SCSS
$custom: #452ea2;
$custom-light: #8369bf;
$custom-dark: #000000;
JSON
{
  "hex": "#452ea2",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 251.897,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40592,
    "c": 0.17589,
    "h": 284.5
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#452EA2
secondary
#AFBF6D
accent
#DF49C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #452EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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