#452FA4#452FA4

#452FA4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.177 H 283.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#452FA4
RGBrgb(69, 47, 164)
HSLhsl(251, 55%, 41%)
HSVhsv(251, 71%, 64%)
CMYKcmyk(57.9%, 71.3%, 0%, 35.7%)
CIE-LABlab(29.36, 41.87, -59.75)
CIE-LCHlch(29.36, 72.96, 305.02°)
OKLaboklab(40.92% 0.0427 -0.172)
OKLCHoklch(40.92% 0.177 283.9)
XYZxyz(10.1695, 5.9779, 35.7327)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452FA4 #8EA42F
analogous
#2F54A4 #452FA4 #802FA4
triadic
#452FA4 #A4452F #2FA445
tetradic
#452FA4 #A42F54 #8EA42F #2FA480
square
#452FA4 #A42F54 #8EA42F #2FA480
split-complementary
#452FA4 #A4802F #54A42F
monochromatic
#1D1445 #312174 #452FA4 #5F46CA #8876D8

Accessibility & contrast

On white

9.56
#452FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452FA4
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452FA4#FFFFFF#000000##FFFFFF
##452FA41.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#124E66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #452fa4;
/* rgb */ color: rgb(69, 47, 164);
/* oklch */ color: oklch(40.9% 0.177 283.9);
Tailwind
colors: {
  custom: {
    50: '#836ac0',
    500: '#452fa4',
    950: '#000000',
  },
}
SCSS
$custom: #452fa4;
$custom-light: #836ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#452fa4",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 251.282,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.17724,
    "h": 283.9
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#452FA4
secondary
#B0C06F
accent
#DF49C3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #452FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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