#452497#452497

#452497 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.174 H 288.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#452497
RGBrgb(69, 36, 151)
HSLhsl(257, 61%, 37%)
HSVhsv(257, 76%, 59%)
CMYKcmyk(54.3%, 76.2%, 0%, 40.8%)
CIE-LABlab(26.04, 43.85, -57.27)
CIE-LCHlch(26.04, 72.13, 307.44°)
OKLaboklab(38.2% 0.0548 -0.1647)
OKLCHoklch(38.2% 0.174 288.4)
XYZxyz(8.6694, 4.7609, 29.7343)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452497 #769724
analogous
#243D97 #452497 #7F2497
triadic
#452497 #974524 #249745
tetradic
#452497 #97243D #769724 #24977F
square
#452497 #97243D #769724 #24977F
split-complementary
#452497 #977F24 #3D9724
monochromatic
#180C34 #2E1866 #452497 #5C30C8 #805DD8

Accessibility & contrast

On white

10.76
#452497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#452497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452497
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452497#FFFFFF#000000##FFFFFF
##4524971.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#24445C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452497;
/* rgb */ color: rgb(69, 36, 151);
/* oklch */ color: oklch(38.2% 0.174 288.4);
Tailwind
colors: {
  custom: {
    50: '#8263b7',
    500: '#452497',
    950: '#000000',
  },
}
SCSS
$custom: #452497;
$custom-light: #8263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452497",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 257.217,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.17355,
    "h": 288.4
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#452497
secondary
#A1BD5A
accent
#E543B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452497

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

Preview Lab → · Contrast checker → · Palette generator →

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