#452687#452687

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

Color values

HEX#452687
RGBrgb(69, 38, 135)
HSLhsl(259, 56%, 34%)
HSVhsv(259, 72%, 53%)
CMYKcmyk(48.9%, 71.9%, 0%, 47.1%)
CIE-LABlab(24.95, 38.12, -49.14)
CIE-LCHlch(24.95, 62.19, 307.80°)
OKLaboklab(36.98% 0.0567 -0.1408)
OKLCHoklch(36.98% 0.152 291.9)
XYZxyz(7.5193, 4.4004, 23.3702)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452687 #688726
analogous
#263887 #452687 #762687
triadic
#452687 #874526 #268745
tetradic
#452687 #872638 #688726 #268776
square
#452687 #872638 #688726 #268776
split-complementary
#452687 #877626 #388726
monochromatic
#140B27 #2D1957 #452687 #5D33B7 #7E58D0

Accessibility & contrast

On white

11.17
#452687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#452687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452687
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452687#FFFFFF#000000##FFFFFF
##4526871.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#303F53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #452687;
/* rgb */ color: rgb(69, 38, 135);
/* oklch */ color: oklch(37.0% 0.152 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f63ab',
    500: '#452687',
    950: '#000000',
  },
}
SCSS
$custom: #452687;
$custom-light: #7f63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452687",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 259.175,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36982,
    "c": 0.15181,
    "h": 291.9
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#452687
secondary
#96B554
accent
#DF48AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #452687

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

Preview Lab → · Contrast checker → · Palette generator →

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