#452A98#452A98

#452A98 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.168 H 287.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#452A98
RGBrgb(69, 42, 152)
HSLhsl(255, 57%, 38%)
HSVhsv(255, 72%, 60%)
CMYKcmyk(54.6%, 72.4%, 0%, 40.4%)
CIE-LABlab(27.26, 40.98, -55.88)
CIE-LCHlch(27.26, 69.30, 306.25°)
OKLaboklab(39.1% 0.0494 -0.1606)
OKLCHoklch(39.1% 0.168 287.1)
XYZxyz(8.9480, 5.1877, 30.2295)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A98 #7D982A
analogous
#2A4698 #452A98 #7C2A98
triadic
#452A98 #98452A #2A9845
tetradic
#452A98 #982A46 #7D982A #2A987C
square
#452A98 #982A46 #7D982A #2A987C
split-complementary
#452A98 #987C2A #46982A
monochromatic
#191038 #2F1D68 #452A98 #5B37C8 #8267D5

Accessibility & contrast

On white

10.31
#452A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#452A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A98
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A98#FFFFFF#000000##FFFFFF
##452A981.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#23475E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452a98;
/* rgb */ color: rgb(69, 42, 152);
/* oklch */ color: oklch(39.1% 0.168 287.1);
Tailwind
colors: {
  custom: {
    50: '#8266b7',
    500: '#452a98',
    950: '#000000',
  },
}
SCSS
$custom: #452a98;
$custom-light: #8266b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452a98",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 254.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39095,
    "c": 0.16809,
    "h": 287.1
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#452A98
secondary
#A6BB62
accent
#E048BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452A98

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

Preview Lab → · Contrast checker → · Palette generator →

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