#452F72#452F72

#452F72 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.7% C 0.111 H 295.6°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#452F72
RGBrgb(69, 47, 114)
HSLhsl(260, 42%, 32%)
HSVhsv(260, 59%, 45%)
CMYKcmyk(39.5%, 58.8%, 0%, 55.3%)
CIE-LABlab(25.30, 26.53, -35.30)
CIE-LCHlch(25.30, 44.16, 306.92°)
OKLaboklab(36.71% 0.0479 -0.1002)
OKLCHoklch(36.71% 0.111 295.6)
XYZxyz(6.5072, 4.5130, 16.4446)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452F72 #5C722F
analogous
#2F3B72 #452F72 #672F72
triadic
#452F72 #72452F #2F7245
tetradic
#452F72 #722F3B #5C722F #2F7267
square
#452F72 #722F3B #5C722F #2F7267
split-complementary
#452F72 #72672F #3B722F
monochromatic
#110B1B #2B1D47 #452F72 #5F419D #7E5FBD

Accessibility & contrast

On white

11.04
#452F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#452F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452F72
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452F72#FFFFFF#000000##FFFFFF
##452F721.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C74
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#3A3D4B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #452f72;
/* rgb */ color: rgb(69, 47, 114);
/* oklch */ color: oklch(36.7% 0.111 295.6);
Tailwind
colors: {
  custom: {
    50: '#7c689b',
    500: '#452f72',
    950: '#000000',
  },
}
SCSS
$custom: #452f72;
$custom-light: #7c689b;
$custom-dark: #000000;
JSON
{
  "hex": "#452f72",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 259.701,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36714,
    "c": 0.11105,
    "h": 295.6
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#452F72
secondary
#8BA35A
accent
#D156A9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #452F72

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

Preview Lab → · Contrast checker → · Palette generator →

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