#452F8A#452F8A

#452F8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.144 H 289.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#452F8A
RGBrgb(69, 47, 138)
HSLhsl(255, 49%, 36%)
HSVhsv(255, 66%, 54%)
CMYKcmyk(50%, 65.9%, 0%, 45.9%)
CIE-LABlab(27.11, 33.82, -47.49)
CIE-LCHlch(27.11, 58.31, 305.46°)
OKLaboklab(38.61% 0.0468 -0.136)
OKLCHoklch(38.61% 0.144 289)
XYZxyz(8.0569, 5.1329, 24.6061)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452F8A #748A2F
analogous
#2F478A #452F8A #732F8A
triadic
#452F8A #8A452F #2F8A45
tetradic
#452F8A #8A2F47 #748A2F #2F8A73
square
#452F8A #8A2F47 #748A2F #2F8A73
split-complementary
#452F8A #8A732F #478A2F
monochromatic
#17102F #2E1F5C #452F8A #5C3FB8 #8068CC

Accessibility & contrast

On white

10.36
#452F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#452F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452F8A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452F8A#FFFFFF#000000##FFFFFF
##452F8A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#2E4558
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452f8a;
/* rgb */ color: rgb(69, 47, 138);
/* oklch */ color: oklch(38.6% 0.144 289.0);
Tailwind
colors: {
  custom: {
    50: '#7f69ad',
    500: '#452f8a',
    950: '#000000',
  },
}
SCSS
$custom: #452f8a;
$custom-light: #7f69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#452f8a",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 254.505,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38611,
    "c": 0.14384,
    "h": 289
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#452F8A
secondary
#9FB362
accent
#D94FB7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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