#452FAB#452FAB

#452FAB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.186 H 282.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#452FAB
RGBrgb(69, 47, 171)
HSLhsl(251, 57%, 43%)
HSVhsv(251, 73%, 67%)
CMYKcmyk(59.6%, 72.5%, 0%, 32.9%)
CIE-LABlab(30.00, 44.02, -62.90)
CIE-LCHlch(30.00, 76.78, 304.99°)
OKLaboklab(41.58% 0.0413 -0.1812)
OKLCHoklch(41.58% 0.186 282.8)
XYZxyz(10.8192, 6.2378, 39.1541)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452FAB #95AB2F
analogous
#2F57AB #452FAB #832FAB
triadic
#452FAB #AB452F #2FAB45
tetradic
#452FAB #AB2F57 #95AB2F #2FAB83
square
#452FAB #AB2F57 #95AB2F #2FAB83
split-complementary
#452FAB #AB832F #57AB2F
monochromatic
#1E154B #32227B #452FAB #614ACD #8B7ADA

Accessibility & contrast

On white

9.34
#452FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#452FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452FAB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452FAB#FFFFFF#000000##FFFFFF
##452FAB1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #452fab;
/* rgb */ color: rgb(69, 47, 171);
/* oklch */ color: oklch(41.6% 0.186 282.8);
Tailwind
colors: {
  custom: {
    50: '#856ac5',
    500: '#452fab',
    950: '#000000',
  },
}
SCSS
$custom: #452fab;
$custom-light: #856ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#452fab",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 250.645,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.18589,
    "h": 282.8
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#452FAB
secondary
#B5C373
accent
#E048C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #452FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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