#452FAC#452FAC

#452FAC is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.187 H 282.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#452FAC
RGBrgb(69, 47, 172)
HSLhsl(251, 57%, 43%)
HSVhsv(251, 73%, 67%)
CMYKcmyk(59.9%, 72.7%, 0%, 32.5%)
CIE-LABlab(30.10, 44.33, -63.35)
CIE-LCHlch(30.10, 77.32, 304.98°)
OKLaboklab(41.68% 0.0411 -0.1825)
OKLCHoklch(41.68% 0.187 282.7)
XYZxyz(10.9148, 6.2761, 39.6580)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452FAC #96AC2F
analogous
#2F57AC #452FAC #832FAC
triadic
#452FAC #AC452F #2FAC45
tetradic
#452FAC #AC2F57 #96AC2F #2FAC83
square
#452FAC #AC2F57 #96AC2F #2FAC83
split-complementary
#452FAC #AC832F #57AC2F
monochromatic
#1E154C #32227C #452FAC #624BCE #8C7BDB

Accessibility & contrast

On white

9.31
#452FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#452FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452FAC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452FAC#FFFFFF#000000##FFFFFF
##452FAC1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #452fac;
/* rgb */ color: rgb(69, 47, 172);
/* oklch */ color: oklch(41.7% 0.187 282.7);
Tailwind
colors: {
  custom: {
    50: '#856ac6',
    500: '#452fac',
    950: '#000000',
  },
}
SCSS
$custom: #452fac;
$custom-light: #856ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#452fac",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 250.56,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.18712,
    "h": 282.7
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#452FAC
secondary
#B5C374
accent
#E047C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #452FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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