#452886#452886

#452886 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.148 H 291.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#452886
RGBrgb(69, 40, 134)
HSLhsl(259, 54%, 34%)
HSVhsv(259, 70%, 53%)
CMYKcmyk(48.5%, 70.1%, 0%, 47.5%)
CIE-LABlab(25.27, 36.71, -47.99)
CIE-LCHlch(25.27, 60.42, 307.41°)
OKLaboklab(37.18% 0.0548 -0.1375)
OKLCHoklch(37.18% 0.148 291.7)
XYZxyz(7.5149, 4.5038, 23.0230)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452886 #698628
analogous
#283A86 #452886 #742886
triadic
#452886 #864528 #288645
tetradic
#452886 #86283A #698628 #288674
square
#452886 #86283A #698628 #288674
split-complementary
#452886 #867428 #3A8628
monochromatic
#140C28 #2D1A57 #452886 #5D36B5 #7E5BCE

Accessibility & contrast

On white

11.05
#452886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#452886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452886
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452886#FFFFFF#000000##FFFFFF
##4528861.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#313F53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #452886;
/* rgb */ color: rgb(69, 40, 134);
/* oklch */ color: oklch(37.2% 0.148 291.7);
Tailwind
colors: {
  custom: {
    50: '#7f64aa',
    500: '#452886',
    950: '#000000',
  },
}
SCSS
$custom: #452886;
$custom-light: #7f64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#452886",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 258.511,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.148,
    "h": 291.7
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#452886
secondary
#97B357
accent
#DD4AB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #452886

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

Preview Lab → · Contrast checker → · Palette generator →

#452886 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva