#452E7B#452E7B

#452E7B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.125 H 293.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#452E7B
RGBrgb(69, 46, 123)
HSLhsl(258, 46%, 33%)
HSVhsv(258, 63%, 48%)
CMYKcmyk(43.9%, 62.6%, 0%, 51.8%)
CIE-LABlab(25.71, 29.85, -40.36)
CIE-LCHlch(25.71, 50.20, 306.49°)
OKLaboklab(37.22% 0.0491 -0.115)
OKLCHoklch(37.22% 0.125 293.1)
XYZxyz(7.0054, 4.6491, 19.2633)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E7B #647B2E
analogous
#2E3D7B #452E7B #6B2E7B
triadic
#452E7B #7B452E #2E7B45
tetradic
#452E7B #7B2E3D #647B2E #2E7B6B
square
#452E7B #7B2E3D #647B2E #2E7B6B
split-complementary
#452E7B #7B6B2E #3D7B2E
monochromatic
#130D22 #2C1D4E #452E7B #5E3FA8 #7E60C3

Accessibility & contrast

On white

10.88
#452E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#452E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E7B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E7B#FFFFFF#000000##FFFFFF
##452E7B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#363F50
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452e7b;
/* rgb */ color: rgb(69, 46, 123);
/* oklch */ color: oklch(37.2% 0.125 293.1);
Tailwind
colors: {
  custom: {
    50: '#7d68a2',
    500: '#452e7b',
    950: '#000000',
  },
}
SCSS
$custom: #452e7b;
$custom-light: #7d68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#452e7b",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 257.922,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37223,
    "c": 0.12509,
    "h": 293.1
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#452E7B
secondary
#92AA5B
accent
#D553AE
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #452E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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