#452C81#452C81

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

Color values

HEX#452C81
RGBrgb(69, 44, 129)
HSLhsl(258, 49%, 34%)
HSVhsv(258, 66%, 51%)
CMYKcmyk(46.5%, 65.9%, 0%, 49.4%)
CIE-LABlab(25.72, 32.88, -44.13)
CIE-LCHlch(25.72, 55.03, 306.69°)
OKLaboklab(37.38% 0.0511 -0.1262)
OKLCHoklch(37.38% 0.136 292)
XYZxyz(7.3163, 4.6513, 21.2769)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C81 #68812C
analogous
#2C3E81 #452C81 #702C81
triadic
#452C81 #81452C #2C8145
tetradic
#452C81 #812C3E #68812C #2C8170
square
#452C81 #812C3E #68812C #2C8170
split-complementary
#452C81 #81702C #3E812C
monochromatic
#140D26 #2D1C53 #452C81 #5D3CAF #7E5FC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##452C81#FFFFFF#000000##FFFFFF
##452C811.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)
#003E84
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#334052
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452c81;
/* rgb */ color: rgb(69, 44, 129);
/* oklch */ color: oklch(37.4% 0.136 292.0);
Tailwind
colors: {
  custom: {
    50: '#7e67a6',
    500: '#452c81',
    950: '#000000',
  },
}
SCSS
$custom: #452c81;
$custom-light: #7e67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#452c81",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 257.647,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37375,
    "c": 0.13609,
    "h": 292
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#452C81
secondary
#96AF5A
accent
#D94FB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #452C81

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

Preview Lab → · Contrast checker → · Palette generator →

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