#452A71#452A71

#452A71 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.118 H 297.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#452A71
RGBrgb(69, 42, 113)
HSLhsl(263, 46%, 30%)
HSVhsv(263, 63%, 44%)
CMYKcmyk(38.9%, 62.8%, 0%, 55.7%)
CIE-LABlab(24.04, 29.35, -36.68)
CIE-LCHlch(24.04, 46.98, 308.66°)
OKLaboklab(35.77% 0.0547 -0.1042)
OKLCHoklch(35.77% 0.118 297.7)
XYZxyz(6.2621, 4.1133, 16.0836)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A71 #56712A
analogous
#2A3271 #452A71 #682A71
triadic
#452A71 #71452A #2A7145
tetradic
#452A71 #712A32 #56712A #2A7168
square
#452A71 #712A32 #56712A #2A7168
split-complementary
#452A71 #71682A #32712A
monochromatic
#0F0918 #2A1944 #452A71 #603B9E #7E55C0

Accessibility & contrast

On white

11.52
#452A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#452A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A71
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A71#FFFFFF#000000##FFFFFF
##452A711.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#0D386F
Tritanopia (blue-blind)
#3B3949
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452a71;
/* rgb */ color: rgb(69, 42, 113);
/* oklch */ color: oklch(35.8% 0.118 297.7);
Tailwind
colors: {
  custom: {
    50: '#7c659a',
    500: '#452a71',
    950: '#000000',
  },
}
SCSS
$custom: #452a71;
$custom-light: #7c659a;
$custom-dark: #000000;
JSON
{
  "hex": "#452a71",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 262.817,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35769,
    "c": 0.1177,
    "h": 297.7
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#452A71
secondary
#85A354
accent
#D552A4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #452A71

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

Preview Lab → · Contrast checker → · Palette generator →

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