#452A88#452A88

#452A88 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.148 H 290.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#452A88
RGBrgb(69, 42, 136)
HSLhsl(257, 53%, 35%)
HSVhsv(257, 69%, 53%)
CMYKcmyk(49.3%, 69.1%, 0%, 46.7%)
CIE-LABlab(25.86, 36.16, -48.29)
CIE-LCHlch(25.86, 60.33, 306.83°)
OKLaboklab(37.66% 0.0524 -0.1384)
OKLCHoklch(37.66% 0.148 290.7)
XYZxyz(7.7249, 4.6984, 23.7876)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A88 #6D882A
analogous
#2A3E88 #452A88 #742A88
triadic
#452A88 #88452A #2A8845
tetradic
#452A88 #882A3E #6D882A #2A8874
square
#452A88 #882A3E #6D882A #2A8874
split-complementary
#452A88 #88742A #3E882A
monochromatic
#160D2A #2D1C59 #452A88 #5D38B7 #7F5FCE

Accessibility & contrast

On white

10.83
#452A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452A88
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A88#FFFFFF#000000##FFFFFF
##452A881.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#2F4155
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452a88;
/* rgb */ color: rgb(69, 42, 136);
/* oklch */ color: oklch(37.7% 0.148 290.7);
Tailwind
colors: {
  custom: {
    50: '#7f65ab',
    500: '#452a88',
    950: '#000000',
  },
}
SCSS
$custom: #452a88;
$custom-light: #7f65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452a88",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 257.234,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37656,
    "c": 0.14794,
    "h": 290.7
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#452A88
secondary
#9AB35B
accent
#DC4CB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452A88

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

Preview Lab → · Contrast checker → · Palette generator →

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