#452C8B#452C8B

#452C8B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.149 H 289.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#452C8B
RGBrgb(69, 44, 139)
HSLhsl(256, 52%, 36%)
HSVhsv(256, 68%, 55%)
CMYKcmyk(50.4%, 68.3%, 0%, 45.5%)
CIE-LABlab(26.54, 35.91, -49.05)
CIE-LCHlch(26.54, 60.79, 306.21°)
OKLaboklab(38.22% 0.0498 -0.1406)
OKLCHoklch(38.22% 0.149 289.5)
XYZxyz(8.0138, 4.9303, 24.9505)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C8B #728B2C
analogous
#2C428B #452C8B #742C8B
triadic
#452C8B #8B452C #2C8B45
tetradic
#452C8B #8B2C42 #728B2C #2C8B74
square
#452C8B #8B2C42 #728B2C #2C8B74
split-complementary
#452C8B #8B742C #428B2C
monochromatic
#170F2E #2E1D5D #452C8B #5C3BB9 #8064CE

Accessibility & contrast

On white

10.57
#452C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#452C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C8B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C8B#FFFFFF#000000##FFFFFF
##452C8B1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#2D4357
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452c8b;
/* rgb */ color: rgb(69, 44, 139);
/* oklch */ color: oklch(38.2% 0.149 289.5);
Tailwind
colors: {
  custom: {
    50: '#7f67ae',
    500: '#452c8b',
    950: '#000000',
  },
}
SCSS
$custom: #452c8b;
$custom-light: #7f67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#452c8b",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 255.789,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38222,
    "c": 0.14917,
    "h": 289.5
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#452C8B
secondary
#9EB45F
accent
#DB4CB6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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