#452E9F#452E9F

#452E9F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.172 H 285.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#452E9F
RGBrgb(69, 46, 159)
HSLhsl(252, 55%, 40%)
HSVhsv(252, 71%, 62%)
CMYKcmyk(56.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(28.70, 40.89, -57.80)
CIE-LCHlch(28.70, 70.80, 305.28°)
OKLaboklab(40.31% 0.0445 -0.1663)
OKLCHoklch(40.31% 0.172 285)
XYZxyz(9.6874, 5.7218, 33.3881)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E9F #889F2E
analogous
#2E509F #452E9F #7D2E9F
triadic
#452E9F #9F452E #2E9F45
tetradic
#452E9F #9F2E50 #889F2E #2E9F7D
square
#452E9F #9F2E50 #889F2E #2E9F7D
split-complementary
#452E9F #9F7D2E #509F2E
monochromatic
#1C1340 #302070 #452E9F #5D42C8 #8671D6

Accessibility & contrast

On white

9.79
#452E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#452E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E9F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E9F#FFFFFF#000000##FFFFFF
##452E9F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#1A4C63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #452e9f;
/* rgb */ color: rgb(69, 46, 159);
/* oklch */ color: oklch(40.3% 0.172 285.0);
Tailwind
colors: {
  custom: {
    50: '#8269bc',
    500: '#452e9f',
    950: '#000000',
  },
}
SCSS
$custom: #452e9f;
$custom-light: #8269bc;
$custom-dark: #000000;
JSON
{
  "hex": "#452e9f",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 252.212,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40313,
    "c": 0.17215,
    "h": 285
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#452E9F
secondary
#ADBE6B
accent
#DE49C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #452E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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