#452988#452988

#452988 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.149 H 291.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#452988
RGBrgb(69, 41, 136)
HSLhsl(258, 54%, 35%)
HSVhsv(258, 70%, 53%)
CMYKcmyk(49.3%, 69.9%, 0%, 46.7%)
CIE-LABlab(25.65, 36.73, -48.63)
CIE-LCHlch(25.65, 60.94, 307.07°)
OKLaboklab(37.51% 0.0534 -0.1394)
OKLCHoklch(37.51% 0.149 291)
XYZxyz(7.6899, 4.6284, 23.7760)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452988 #6C8829
analogous
#293D88 #452988 #742988
triadic
#452988 #884529 #298845
tetradic
#452988 #88293D #6C8829 #298874
square
#452988 #88293D #6C8829 #298874
split-complementary
#452988 #887429 #3D8829
monochromatic
#150D2A #2D1B59 #452988 #5D37B7 #7E5DCE

Accessibility & contrast

On white

10.90
#452988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#452988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452988
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452988#FFFFFF#000000##FFFFFF
##4529881.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#304155
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452988;
/* rgb */ color: rgb(69, 41, 136);
/* oklch */ color: oklch(37.5% 0.149 291.0);
Tailwind
colors: {
  custom: {
    50: '#7f65ab',
    500: '#452988',
    950: '#000000',
  },
}
SCSS
$custom: #452988;
$custom-light: #7f65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452988",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 257.684,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.14925,
    "h": 291
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#452988
secondary
#99B459
accent
#DD4BB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452988

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

Preview Lab → · Contrast checker → · Palette generator →

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