#452786#452786

#452786 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.149 H 292.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#452786
RGBrgb(69, 39, 134)
HSLhsl(259, 55%, 34%)
HSVhsv(259, 71%, 53%)
CMYKcmyk(48.5%, 70.9%, 0%, 47.5%)
CIE-LABlab(25.07, 37.27, -48.33)
CIE-LCHlch(25.07, 61.03, 307.64°)
OKLaboklab(37.04% 0.0558 -0.1385)
OKLCHoklch(37.04% 0.149 292)
XYZxyz(7.4816, 4.4372, 23.0119)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452786 #688627
analogous
#273986 #452786 #752786
triadic
#452786 #864527 #278645
tetradic
#452786 #862739 #688627 #278675
square
#452786 #862739 #688627 #278675
split-complementary
#452786 #867527 #398627
monochromatic
#140B27 #2D1957 #452786 #5D35B5 #7E59CF

Accessibility & contrast

On white

11.13
#452786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#452786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452786
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452786#FFFFFF#000000##FFFFFF
##4527861.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452786;
/* rgb */ color: rgb(69, 39, 134);
/* oklch */ color: oklch(37.0% 0.149 292.0);
Tailwind
colors: {
  custom: {
    50: '#7f64aa',
    500: '#452786',
    950: '#000000',
  },
}
SCSS
$custom: #452786;
$custom-light: #7f64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#452786",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 258.947,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.14929,
    "h": 292
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#452786
secondary
#96B455
accent
#DE4AAF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #452786

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

Preview Lab → · Contrast checker → · Palette generator →

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