#452C7E#452C7E

#452C7E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.132 H 292.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#452C7E
RGBrgb(69, 44, 126)
HSLhsl(258, 48%, 33%)
HSVhsv(258, 65%, 49%)
CMYKcmyk(45.2%, 65.1%, 0%, 50.6%)
CIE-LABlab(25.48, 31.97, -42.63)
CIE-LCHlch(25.48, 53.29, 306.87°)
OKLaboklab(37.13% 0.0513 -0.1217)
OKLCHoklch(37.13% 0.132 292.9)
XYZxyz(7.1198, 4.5727, 20.2421)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C7E #657E2C
analogous
#2C3C7E #452C7E #6E2C7E
triadic
#452C7E #7E452C #2C7E45
tetradic
#452C7E #7E2C3C #657E2C #2C7E6E
square
#452C7E #7E2C3C #657E2C #2C7E6E
split-complementary
#452C7E #7E6E2C #3C7E2C
monochromatic
#130C23 #2C1C51 #452C7E #5E3CAB #7E5EC7

Accessibility & contrast

On white

10.97
#452C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#452C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C7E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C7E#FFFFFF#000000##FFFFFF
##452C7E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#353F50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #452c7e;
/* rgb */ color: rgb(69, 44, 126);
/* oklch */ color: oklch(37.1% 0.132 292.9);
Tailwind
colors: {
  custom: {
    50: '#7e66a4',
    500: '#452c7e',
    950: '#000000',
  },
}
SCSS
$custom: #452c7e;
$custom-light: #7e66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#452c7e",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 258.293,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.1321,
    "h": 292.9
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#452C7E
secondary
#93AD59
accent
#D850AE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #452C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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