#452C9C#452C9C

#452C9C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.171 H 285.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#452C9C
RGBrgb(69, 44, 156)
HSLhsl(253, 56%, 39%)
HSVhsv(253, 72%, 61%)
CMYKcmyk(55.8%, 71.8%, 0%, 38.8%)
CIE-LABlab(28.02, 41.09, -57.08)
CIE-LCHlch(28.02, 70.33, 305.75°)
OKLaboklab(39.75% 0.0469 -0.1642)
OKLCHoklch(39.75% 0.171 285.9)
XYZxyz(9.3539, 5.4664, 32.0083)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C9C #839C2C
analogous
#2C4B9C #452C9C #7D2C9C
triadic
#452C9C #9C452C #2C9C45
tetradic
#452C9C #9C2C4B #839C2C #2C9C7D
square
#452C9C #9C2C4B #839C2C #2C9C7D
split-complementary
#452C9C #9C7D2C #4B9C2C
monochromatic
#1B113D #301F6C #452C9C #5C3DC8 #846DD6

Accessibility & contrast

On white

10.03
#452C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#452C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C9C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C9C#FFFFFF#000000##FFFFFF
##452C9C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#1F4A61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #452c9c;
/* rgb */ color: rgb(69, 44, 156);
/* oklch */ color: oklch(39.7% 0.171 285.9);
Tailwind
colors: {
  custom: {
    50: '#8267ba',
    500: '#452c9c',
    950: '#000000',
  },
}
SCSS
$custom: #452c9c;
$custom-light: #8267ba;
$custom-dark: #000000;
JSON
{
  "hex": "#452c9c",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 253.393,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.17073,
    "h": 285.9
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#452C9C
secondary
#AABD67
accent
#DF49BE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #452C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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