#452987#452987

#452987 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.148 H 291.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#452987
RGBrgb(69, 41, 135)
HSLhsl(258, 53%, 35%)
HSVhsv(258, 70%, 53%)
CMYKcmyk(48.9%, 69.6%, 0%, 47.1%)
CIE-LABlab(25.56, 36.43, -48.14)
CIE-LCHlch(25.56, 60.38, 307.12°)
OKLaboklab(37.42% 0.0536 -0.1379)
OKLCHoklch(37.42% 0.148 291.2)
XYZxyz(7.6191, 4.6001, 23.4034)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452987 #6B8729
analogous
#293C87 #452987 #742987
triadic
#452987 #874529 #298745
tetradic
#452987 #87293C #6B8729 #298774
square
#452987 #87293C #6B8729 #298774
split-complementary
#452987 #877429 #3C8729
monochromatic
#150C29 #2D1B58 #452987 #5D37B6 #7E5DCE

Accessibility & contrast

On white

10.94
#452987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#452987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452987
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452987#FFFFFF#000000##FFFFFF
##4529871.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452987;
/* rgb */ color: rgb(69, 41, 135);
/* oklch */ color: oklch(37.4% 0.148 291.2);
Tailwind
colors: {
  custom: {
    50: '#7f65ab',
    500: '#452987',
    950: '#000000',
  },
}
SCSS
$custom: #452987;
$custom-light: #7f65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452987",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 257.872,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.14797,
    "h": 291.2
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#452987
secondary
#98B359
accent
#DD4BB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452987

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

Preview Lab → · Contrast checker → · Palette generator →

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