#452C95#452C95

#452C95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.162 H 287.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#452C95
RGBrgb(69, 44, 149)
HSLhsl(254, 54%, 38%)
HSVhsv(254, 70%, 58%)
CMYKcmyk(53.7%, 70.5%, 0%, 41.6%)
CIE-LABlab(27.40, 38.95, -53.82)
CIE-LCHlch(27.40, 66.44, 305.89°)
OKLaboklab(39.11% 0.0482 -0.1546)
OKLCHoklch(39.11% 0.162 287.3)
XYZxyz(8.7781, 5.2361, 28.9761)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C95 #7C952C
analogous
#2C4795 #452C95 #792C95
triadic
#452C95 #95452C #2C9545
tetradic
#452C95 #952C47 #7C952C #2C9579
square
#452C95 #952C47 #7C952C #2C9579
split-complementary
#452C95 #95792C #47952C
monochromatic
#191037 #2F1E66 #452C95 #5B3AC4 #8269D3

Accessibility & contrast

On white

10.26
#452C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#452C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C95
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C95#FFFFFF#000000##FFFFFF
##452C951.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#26475D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #452c95;
/* rgb */ color: rgb(69, 44, 149);
/* oklch */ color: oklch(39.1% 0.162 287.3);
Tailwind
colors: {
  custom: {
    50: '#8167b5',
    500: '#452c95',
    950: '#000000',
  },
}
SCSS
$custom: #452c95;
$custom-light: #8167b5;
$custom-dark: #000000;
JSON
{
  "hex": "#452c95",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 254.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.16195,
    "h": 287.3
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #452C95

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

Preview Lab → · Contrast checker → · Palette generator →

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