#452787#452787

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

Color values

HEX#452787
RGBrgb(69, 39, 135)
HSLhsl(259, 55%, 34%)
HSVhsv(259, 71%, 53%)
CMYKcmyk(48.9%, 71.1%, 0%, 47.1%)
CIE-LABlab(25.15, 37.57, -48.81)
CIE-LCHlch(25.15, 61.59, 307.58°)
OKLaboklab(37.13% 0.0557 -0.1399)
OKLCHoklch(37.13% 0.151 291.7)
XYZxyz(7.5517, 4.4652, 23.3810)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452787 #698727
analogous
#273987 #452787 #752787
triadic
#452787 #874527 #278745
tetradic
#452787 #872739 #698727 #278775
square
#452787 #872739 #698727 #278775
split-complementary
#452787 #877527 #398727
monochromatic
#140C28 #2D1958 #452787 #5D35B6 #7E59CF

Accessibility & contrast

On white

11.09
#452787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452787
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452787#FFFFFF#000000##FFFFFF
##4527871.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#303F54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #452787;
/* rgb */ color: rgb(69, 39, 135);
/* oklch */ color: oklch(37.1% 0.151 291.7);
Tailwind
colors: {
  custom: {
    50: '#7f64ab',
    500: '#452787',
    950: '#000000',
  },
}
SCSS
$custom: #452787;
$custom-light: #7f64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452787",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 258.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37125,
    "c": 0.15055,
    "h": 291.7
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#452787
secondary
#97B456
accent
#DF49B0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #452787

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

Preview Lab → · Contrast checker → · Palette generator →

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