#452E97#452E97

#452E97 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.162 H 286.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#452E97
RGBrgb(69, 46, 151)
HSLhsl(253, 53%, 39%)
HSVhsv(253, 70%, 59%)
CMYKcmyk(54.3%, 69.5%, 0%, 40.8%)
CIE-LABlab(27.99, 38.42, -54.08)
CIE-LCHlch(27.99, 66.34, 305.39°)
OKLaboklab(39.59% 0.046 -0.1554)
OKLCHoklch(39.59% 0.162 286.5)
XYZxyz(9.0155, 5.4531, 29.8497)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E97 #80972E
analogous
#2E4B97 #452E97 #792E97
triadic
#452E97 #97452E #2E9745
tetradic
#452E97 #972E4B #80972E #2E9779
square
#452E97 #972E4B #80972E #2E9779
split-complementary
#452E97 #97792E #4B972E
monochromatic
#1A1139 #302068 #452E97 #5B3EC4 #836DD2

Accessibility & contrast

On white

10.04
#452E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#452E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E97
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E97#FFFFFF#000000##FFFFFF
##452E971.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#24495F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #452e97;
/* rgb */ color: rgb(69, 46, 151);
/* oklch */ color: oklch(39.6% 0.162 286.5);
Tailwind
colors: {
  custom: {
    50: '#8169b6',
    500: '#452e97',
    950: '#000000',
  },
}
SCSS
$custom: #452e97;
$custom-light: #8169b6;
$custom-dark: #000000;
JSON
{
  "hex": "#452e97",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 253.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39585,
    "c": 0.16204,
    "h": 286.5
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#452E97
secondary
#A8BA67
accent
#DD4BBD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452E97

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

Preview Lab → · Contrast checker → · Palette generator →

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