#452588#452588

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

Color values

HEX#452588
RGBrgb(69, 37, 136)
HSLhsl(259, 57%, 34%)
HSVhsv(259, 73%, 53%)
CMYKcmyk(49.3%, 72.8%, 0%, 46.7%)
CIE-LABlab(24.84, 38.96, -49.94)
CIE-LCHlch(24.84, 63.34, 307.96°)
OKLaboklab(36.93% 0.0575 -0.1432)
OKLCHoklch(36.93% 0.154 291.9)
XYZxyz(7.5585, 4.3656, 23.7322)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452588 #688825
analogous
#253788 #452588 #772588
triadic
#452588 #884525 #258845
tetradic
#452588 #882537 #688825 #258877
square
#452588 #882537 #688825 #258877
split-complementary
#452588 #887725 #378825
monochromatic
#140B28 #2D1858 #452588 #5D32B8 #7E56D1

Accessibility & contrast

On white

11.21
#452588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452588
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452588#FFFFFF#000000##FFFFFF
##4525881.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#303E54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #452588;
/* rgb */ color: rgb(69, 37, 136);
/* oklch */ color: oklch(36.9% 0.154 291.9);
Tailwind
colors: {
  custom: {
    50: '#8062ac',
    500: '#452588',
    950: '#000000',
  },
}
SCSS
$custom: #452588;
$custom-light: #8062ac;
$custom-dark: #000000;
JSON
{
  "hex": "#452588",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 259.394,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.15429,
    "h": 291.9
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#452588
secondary
#96B653
accent
#E047AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #452588

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

Preview Lab → · Contrast checker → · Palette generator →

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