#452E8D#452E8D

#452E8D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.149 H 288.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#452E8D
RGBrgb(69, 46, 141)
HSLhsl(255, 51%, 37%)
HSVhsv(255, 67%, 55%)
CMYKcmyk(51.1%, 67.4%, 0%, 44.7%)
CIE-LABlab(27.14, 35.34, -49.31)
CIE-LCHlch(27.14, 60.67, 305.63°)
OKLaboklab(38.71% 0.0475 -0.1414)
OKLCHoklch(38.71% 0.149 288.6)
XYZxyz(8.2376, 5.1419, 25.7526)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E8D #768D2E
analogous
#2E478D #452E8D #752E8D
triadic
#452E8D #8D452E #2E8D45
tetradic
#452E8D #8D2E47 #768D2E #2E8D75
square
#452E8D #8D2E47 #768D2E #2E8D75
split-complementary
#452E8D #8D752E #478D2E
monochromatic
#181031 #2E1F5F #452E8D #5C3DBB #8068CE

Accessibility & contrast

On white

10.35
#452E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#452E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E8D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E8D#FFFFFF#000000##FFFFFF
##452E8D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#2C4559
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452e8d;
/* rgb */ color: rgb(69, 46, 141);
/* oklch */ color: oklch(38.7% 0.149 288.6);
Tailwind
colors: {
  custom: {
    50: '#8068af',
    500: '#452e8d',
    950: '#000000',
  },
}
SCSS
$custom: #452e8d;
$custom-light: #8068af;
$custom-dark: #000000;
JSON
{
  "hex": "#452e8d",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 254.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38706,
    "c": 0.14913,
    "h": 288.6
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#452E8D
secondary
#A1B562
accent
#DA4EB8
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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