#452C97#452C97

#452C97 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.164 H 286.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#452C97
RGBrgb(69, 44, 151)
HSLhsl(254, 55%, 38%)
HSVhsv(254, 71%, 59%)
CMYKcmyk(54.3%, 70.9%, 0%, 40.8%)
CIE-LABlab(27.57, 39.56, -54.76)
CIE-LCHlch(27.57, 67.56, 305.85°)
OKLaboklab(39.29% 0.0478 -0.1574)
OKLCHoklch(39.29% 0.164 286.9)
XYZxyz(8.9392, 5.3005, 29.8242)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C97 #7E972C
analogous
#2C4897 #452C97 #7A2C97
triadic
#452C97 #97452C #2C9745
tetradic
#452C97 #972C48 #7E972C #2C977A
square
#452C97 #972C48 #7E972C #2C977A
split-complementary
#452C97 #977A2C #48972C
monochromatic
#1A1038 #2F1E68 #452C97 #5B3AC6 #836AD4

Accessibility & contrast

On white

10.19
#452C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#452C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C97
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C97#FFFFFF#000000##FFFFFF
##452C971.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#24485E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #452c97;
/* rgb */ color: rgb(69, 44, 151);
/* oklch */ color: oklch(39.3% 0.164 286.9);
Tailwind
colors: {
  custom: {
    50: '#8167b7',
    500: '#452c97',
    950: '#000000',
  },
}
SCSS
$custom: #452c97;
$custom-light: #8167b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452c97",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 254.019,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39289,
    "c": 0.16448,
    "h": 286.9
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#452C97
secondary
#A6BA65
accent
#DE4ABB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452C97

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

Preview Lab → · Contrast checker → · Palette generator →

#452C97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva