#452B71#452B71

#452B71 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.116 H 297.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#452B71
RGBrgb(69, 43, 113)
HSLhsl(262, 45%, 31%)
HSVhsv(262, 62%, 44%)
CMYKcmyk(38.9%, 61.9%, 0%, 55.7%)
CIE-LABlab(24.27, 28.73, -36.31)
CIE-LCHlch(24.27, 46.30, 308.35°)
OKLaboklab(35.94% 0.0533 -0.1031)
OKLCHoklch(35.94% 0.116 297.3)
XYZxyz(6.2980, 4.1851, 16.0956)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452B71 #57712B
analogous
#2B3471 #452B71 #682B71
triadic
#452B71 #71452B #2B7145
tetradic
#452B71 #712B34 #57712B #2B7168
square
#452B71 #712B34 #57712B #2B7168
split-complementary
#452B71 #71682B #34712B
monochromatic
#0F0918 #2A1A45 #452B71 #603C9D #7E57BF

Accessibility & contrast

On white

11.43
#452B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#452B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452B71
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452B71#FFFFFF#000000##FFFFFF
##452B711.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#10396F
Tritanopia (blue-blind)
#3B3A49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #452b71;
/* rgb */ color: rgb(69, 43, 113);
/* oklch */ color: oklch(35.9% 0.116 297.3);
Tailwind
colors: {
  custom: {
    50: '#7c659a',
    500: '#452b71',
    950: '#000000',
  },
}
SCSS
$custom: #452b71;
$custom-light: #7c659a;
$custom-dark: #000000;
JSON
{
  "hex": "#452b71",
  "rgb": {
    "r": 69,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 262.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35939,
    "c": 0.11612,
    "h": 297.3
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#452B71
secondary
#86A355
accent
#D553A5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #452B71

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

Preview Lab → · Contrast checker → · Palette generator →

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