#452587#452587

#452587 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.153 H 292.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#452587
RGBrgb(69, 37, 135)
HSLhsl(260, 57%, 34%)
HSVhsv(260, 73%, 53%)
CMYKcmyk(48.9%, 72.6%, 0%, 47.1%)
CIE-LABlab(24.76, 38.67, -49.46)
CIE-LCHlch(24.76, 62.78, 308.02°)
OKLaboklab(36.84% 0.0577 -0.1418)
OKLCHoklch(36.84% 0.153 292.1)
XYZxyz(7.4878, 4.3374, 23.3596)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452587 #678725
analogous
#253687 #452587 #762587
triadic
#452587 #874525 #258745
tetradic
#452587 #872536 #678725 #258776
square
#452587 #872536 #678725 #258776
split-complementary
#452587 #877625 #368725
monochromatic
#140B27 #2C1857 #452587 #5E32B7 #7E56D1

Accessibility & contrast

On white

11.24
#452587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#452587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452587
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452587#FFFFFF#000000##FFFFFF
##4525871.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452587;
/* rgb */ color: rgb(69, 37, 135);
/* oklch */ color: oklch(36.8% 0.153 292.1);
Tailwind
colors: {
  custom: {
    50: '#7f62ab',
    500: '#452587',
    950: '#000000',
  },
}
SCSS
$custom: #452587;
$custom-light: #7f62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452587",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 259.592,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.15306,
    "h": 292.1
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#452587
secondary
#95B553
accent
#E048AE
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452587

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

Preview Lab → · Contrast checker → · Palette generator →

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