#452887#452887

#452887 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.149 H 291.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#452887
RGBrgb(69, 40, 135)
HSLhsl(258, 54%, 34%)
HSVhsv(258, 70%, 53%)
CMYKcmyk(48.9%, 70.4%, 0%, 47.1%)
CIE-LABlab(25.36, 37.00, -48.48)
CIE-LCHlch(25.36, 60.99, 307.35°)
OKLaboklab(37.27% 0.0546 -0.1389)
OKLCHoklch(37.27% 0.149 291.5)
XYZxyz(7.5850, 4.5318, 23.3920)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452887 #6A8728
analogous
#283A87 #452887 #752887
triadic
#452887 #874528 #288745
tetradic
#452887 #87283A #6A8728 #288775
square
#452887 #87283A #6A8728 #288775
split-complementary
#452887 #877528 #3A8728
monochromatic
#150C29 #2D1A58 #452887 #5D36B6 #7E5BCE

Accessibility & contrast

On white

11.02
#452887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#452887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452887
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452887#FFFFFF#000000##FFFFFF
##4528871.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#304054
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #452887;
/* rgb */ color: rgb(69, 40, 135);
/* oklch */ color: oklch(37.3% 0.149 291.5);
Tailwind
colors: {
  custom: {
    50: '#7f64ab',
    500: '#452887',
    950: '#000000',
  },
}
SCSS
$custom: #452887;
$custom-light: #7f64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452887",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 258.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3727,
    "c": 0.14927,
    "h": 291.5
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#452887
secondary
#97B457
accent
#DE4AB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #452887

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

Preview Lab → · Contrast checker → · Palette generator →

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