#452E7D#452E7D

#452E7D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.128 H 292.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#452E7D
RGBrgb(69, 46, 125)
HSLhsl(257, 46%, 34%)
HSVhsv(257, 63%, 49%)
CMYKcmyk(44.8%, 63.2%, 0%, 51%)
CIE-LABlab(25.86, 30.45, -41.38)
CIE-LCHlch(25.86, 51.38, 306.35°)
OKLaboklab(37.38% 0.049 -0.118)
OKLCHoklch(37.38% 0.128 292.5)
XYZxyz(7.1319, 4.6997, 19.9294)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E7D #667D2E
analogous
#2E3E7D #452E7D #6C2E7D
triadic
#452E7D #7D452E #2E7D45
tetradic
#452E7D #7D2E3E #667D2E #2E7D6C
square
#452E7D #7D2E3E #667D2E #2E7D6C
split-complementary
#452E7D #7D6C2E #3E7D2E
monochromatic
#140D24 #2C1E50 #452E7D #5E3EAA #7E61C5

Accessibility & contrast

On white

10.82
#452E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#452E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E7D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E7D#FFFFFF#000000##FFFFFF
##452E7D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#354051
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452e7d;
/* rgb */ color: rgb(69, 46, 125);
/* oklch */ color: oklch(37.4% 0.128 292.5);
Tailwind
colors: {
  custom: {
    50: '#7d68a3',
    500: '#452e7d',
    950: '#000000',
  },
}
SCSS
$custom: #452e7d;
$custom-light: #7d68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#452e7d",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 257.468,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37381,
    "c": 0.12781,
    "h": 292.5
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#452E7D
secondary
#94AB5B
accent
#D652AF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #452E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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