#452E8A#452E8A

#452E8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.145 H 289.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#452E8A
RGBrgb(69, 46, 138)
HSLhsl(255, 50%, 36%)
HSVhsv(255, 67%, 54%)
CMYKcmyk(50%, 66.7%, 0%, 45.9%)
CIE-LABlab(26.89, 34.42, -47.86)
CIE-LCHlch(26.89, 58.95, 305.73°)
OKLaboklab(38.45% 0.0478 -0.1371)
OKLCHoklch(38.45% 0.145 289.2)
XYZxyz(8.0174, 5.0538, 24.5929)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E8A #738A2E
analogous
#2E458A #452E8A #732E8A
triadic
#452E8A #8A452E #2E8A45
tetradic
#452E8A #8A2E45 #738A2E #2E8A73
square
#452E8A #8A2E45 #738A2E #2E8A73
split-complementary
#452E8A #8A732E #458A2E
monochromatic
#170F2E #2E1F5C #452E8A #5C3DB8 #8066CC

Accessibility & contrast

On white

10.44
#452E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#452E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E8A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E8A#FFFFFF#000000##FFFFFF
##452E8A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#2E4457
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452e8a;
/* rgb */ color: rgb(69, 46, 138);
/* oklch */ color: oklch(38.5% 0.145 289.2);
Tailwind
colors: {
  custom: {
    50: '#7f68ad',
    500: '#452e8a',
    950: '#000000',
  },
}
SCSS
$custom: #452e8a;
$custom-light: #7f68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#452e8a",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 255,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.14519,
    "h": 289.2
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#452E8A
secondary
#9EB361
accent
#DA4EB7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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