#452C8A#452C8A

#452C8A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.148 H 289.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#452C8A
RGBrgb(69, 44, 138)
HSLhsl(256, 52%, 36%)
HSVhsv(256, 68%, 54%)
CMYKcmyk(50%, 68.1%, 0%, 45.9%)
CIE-LABlab(26.45, 35.60, -48.57)
CIE-LCHlch(26.45, 60.22, 306.25°)
OKLaboklab(38.14% 0.05 -0.1392)
OKLCHoklch(38.14% 0.148 289.7)
XYZxyz(7.9411, 4.9012, 24.5674)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C8A #718A2C
analogous
#2C428A #452C8A #742C8A
triadic
#452C8A #8A452C #2C8A45
tetradic
#452C8A #8A2C42 #718A2C #2C8A74
square
#452C8A #8A2C42 #718A2C #2C8A74
split-complementary
#452C8A #8A742C #428A2C
monochromatic
#170E2D #2E1D5C #452C8A #5C3BB8 #7F63CD

Accessibility & contrast

On white

10.60
#452C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#452C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C8A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C8A#FFFFFF#000000##FFFFFF
##452C8A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#2E4357
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452c8a;
/* rgb */ color: rgb(69, 44, 138);
/* oklch */ color: oklch(38.1% 0.148 289.7);
Tailwind
colors: {
  custom: {
    50: '#7f67ad',
    500: '#452c8a',
    950: '#000000',
  },
}
SCSS
$custom: #452c8a;
$custom-light: #7f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#452c8a",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 255.957,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.14788,
    "h": 289.7
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#452C8A
secondary
#9DB45E
accent
#DB4DB5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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