#452F9C#452F9C

#452F9C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.167 H 285.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#452F9C
RGBrgb(69, 47, 156)
HSLhsl(252, 54%, 40%)
HSVhsv(252, 70%, 61%)
CMYKcmyk(55.8%, 69.9%, 0%, 38.8%)
CIE-LABlab(28.64, 39.39, -56.08)
CIE-LCHlch(28.64, 68.53, 305.09°)
OKLaboklab(40.19% 0.0442 -0.1612)
OKLCHoklch(40.19% 0.167 285.3)
XYZxyz(9.4697, 5.6980, 32.0469)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452F9C #869C2F
analogous
#2F509C #452F9C #7C2F9C
triadic
#452F9C #9C452F #2F9C45
tetradic
#452F9C #9C2F50 #869C2F #2F9C7C
square
#452F9C #9C2F50 #869C2F #2F9C7C
split-complementary
#452F9C #9C7C2F #509C2F
monochromatic
#1B133E #30216D #452F9C #5D42C6 #8571D4

Accessibility & contrast

On white

9.81
#452F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#452F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452F9C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452F9C#FFFFFF#000000##FFFFFF
##452F9C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#1E4B62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #452f9c;
/* rgb */ color: rgb(69, 47, 156);
/* oklch */ color: oklch(40.2% 0.167 285.3);
Tailwind
colors: {
  custom: {
    50: '#8269ba',
    500: '#452f9c',
    950: '#000000',
  },
}
SCSS
$custom: #452f9c;
$custom-light: #8269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#452f9c",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 252.11,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.16719,
    "h": 285.3
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#452F9C
secondary
#ACBC6B
accent
#DD4BC0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #452F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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