#452E8F#452E8F

#452E8F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.152 H 288.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#452E8F
RGBrgb(69, 46, 143)
HSLhsl(254, 51%, 37%)
HSVhsv(254, 68%, 56%)
CMYKcmyk(51.7%, 67.8%, 0%, 43.9%)
CIE-LABlab(27.30, 35.96, -50.28)
CIE-LCHlch(27.30, 61.81, 305.57°)
OKLaboklab(38.88% 0.0472 -0.1442)
OKLCHoklch(38.88% 0.152 288.1)
XYZxyz(8.3877, 5.2020, 26.5434)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E8F #788F2E
analogous
#2E478F #452E8F #762E8F
triadic
#452E8F #8F452E #2E8F45
tetradic
#452E8F #8F2E47 #788F2E #2E8F76
square
#452E8F #8F2E47 #788F2E #2E8F76
split-complementary
#452E8F #8F762E #478F2E
monochromatic
#181032 #2F1F61 #452E8F #5B3DBD #8169CF

Accessibility & contrast

On white

10.29
#452E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#452E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E8F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E8F#FFFFFF#000000##FFFFFF
##452E8F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#2A465A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452e8f;
/* rgb */ color: rgb(69, 46, 143);
/* oklch */ color: oklch(38.9% 0.152 288.1);
Tailwind
colors: {
  custom: {
    50: '#8068b1',
    500: '#452e8f',
    950: '#000000',
  },
}
SCSS
$custom: #452e8f;
$custom-light: #8068b1;
$custom-dark: #000000;
JSON
{
  "hex": "#452e8f",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 254.227,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.15173,
    "h": 288.1
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#452E8F
secondary
#A2B663
accent
#DB4DB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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