#452A86#452A86

#452A86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.145 H 291.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#452A86
RGBrgb(69, 42, 134)
HSLhsl(258, 52%, 35%)
HSVhsv(258, 69%, 53%)
CMYKcmyk(48.5%, 68.7%, 0%, 47.5%)
CIE-LABlab(25.69, 35.56, -47.31)
CIE-LCHlch(25.69, 59.19, 306.93°)
OKLaboklab(37.48% 0.0527 -0.1355)
OKLCHoklch(37.48% 0.145 291.2)
XYZxyz(7.5841, 4.6421, 23.0460)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A86 #6B862A
analogous
#2A3D86 #452A86 #732A86
triadic
#452A86 #86452A #2A8645
tetradic
#452A86 #862A3D #6B862A #2A8673
square
#452A86 #862A3D #6B862A #2A8673
split-complementary
#452A86 #86732A #3D862A
monochromatic
#150D29 #2D1B57 #452A86 #5D39B5 #7E5ECD

Accessibility & contrast

On white

10.89
#452A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452A86
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A86#FFFFFF#000000##FFFFFF
##452A861.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#314154
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452a86;
/* rgb */ color: rgb(69, 42, 134);
/* oklch */ color: oklch(37.5% 0.145 291.2);
Tailwind
colors: {
  custom: {
    50: '#7f65aa',
    500: '#452a86',
    950: '#000000',
  },
}
SCSS
$custom: #452a86;
$custom-light: #7f65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#452a86",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 257.609,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.14537,
    "h": 291.2
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#452A86
secondary
#98B25A
accent
#DC4CB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452A86

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

Preview Lab → · Contrast checker → · Palette generator →

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