#452797#452797

#452797 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.170 H 287.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#452797
RGBrgb(69, 39, 151)
HSLhsl(256, 59%, 37%)
HSVhsv(256, 74%, 59%)
CMYKcmyk(54.3%, 74.2%, 0%, 40.8%)
CIE-LABlab(26.59, 42.30, -56.37)
CIE-LCHlch(26.59, 70.47, 306.89°)
OKLaboklab(38.59% 0.0523 -0.1621)
OKLCHoklch(38.59% 0.17 287.9)
XYZxyz(8.7640, 4.9502, 29.7658)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452797 #799727
analogous
#274197 #452797 #7D2797
triadic
#452797 #974527 #279745
tetradic
#452797 #972741 #799727 #27977D
square
#452797 #972741 #799727 #27977D
split-complementary
#452797 #977D27 #419727
monochromatic
#190E36 #2F1A66 #452797 #5B34C8 #8162D6

Accessibility & contrast

On white

10.55
#452797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#452797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452797
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452797#FFFFFF#000000##FFFFFF
##4527971.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#24455D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452797;
/* rgb */ color: rgb(69, 39, 151);
/* oklch */ color: oklch(38.6% 0.170 287.9);
Tailwind
colors: {
  custom: {
    50: '#8264b7',
    500: '#452797',
    950: '#000000',
  },
}
SCSS
$custom: #452797;
$custom-light: #8264b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452797",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 256.071,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.17028,
    "h": 287.9
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#452797
secondary
#A3BC5E
accent
#E246B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452797

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

Preview Lab → · Contrast checker → · Palette generator →

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