#452997#452997

#452997 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.168 H 287.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#452997
RGBrgb(69, 41, 151)
HSLhsl(255, 57%, 38%)
HSVhsv(255, 73%, 59%)
CMYKcmyk(54.3%, 72.8%, 0%, 40.8%)
CIE-LABlab(26.98, 41.23, -55.74)
CIE-LCHlch(26.98, 69.33, 306.49°)
OKLaboklab(38.86% 0.0505 -0.1602)
OKLCHoklch(38.86% 0.168 287.5)
XYZxyz(8.8314, 5.0850, 29.7883)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452997 #7B9729
analogous
#294497 #452997 #7C2997
triadic
#452997 #974529 #299745
tetradic
#452997 #972944 #7B9729 #29977C
square
#452997 #972944 #7B9729 #29977C
split-complementary
#452997 #977C29 #449729
monochromatic
#190F37 #2F1C67 #452997 #5B36C7 #8265D5

Accessibility & contrast

On white

10.41
#452997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#452997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452997
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452997#FFFFFF#000000##FFFFFF
##4529971.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#24465D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452997;
/* rgb */ color: rgb(69, 41, 151);
/* oklch */ color: oklch(38.9% 0.168 287.5);
Tailwind
colors: {
  custom: {
    50: '#8265b7',
    500: '#452997',
    950: '#000000',
  },
}
SCSS
$custom: #452997;
$custom-light: #8265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452997",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 255.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.16801,
    "h": 287.5
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#452997
secondary
#A4BB61
accent
#E147BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452997

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

Preview Lab → · Contrast checker → · Palette generator →

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