#452498#452498

#452498 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.175 H 288.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#452498
RGBrgb(69, 36, 152)
HSLhsl(257, 62%, 37%)
HSVhsv(257, 76%, 60%)
CMYKcmyk(54.6%, 76.3%, 0%, 40.4%)
CIE-LABlab(26.14, 44.14, -57.73)
CIE-LCHlch(26.14, 72.67, 307.41°)
OKLaboklab(38.3% 0.0545 -0.166)
OKLCHoklch(38.3% 0.175 288.2)
XYZxyz(8.7509, 4.7935, 30.1638)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452498 #779824
analogous
#243D98 #452498 #7F2498
triadic
#452498 #984524 #249845
tetradic
#452498 #98243D #779824 #24987F
square
#452498 #98243D #779824 #24987F
split-complementary
#452498 #987F24 #3D9824
monochromatic
#180D35 #2F1867 #452498 #5B30C9 #815ED9

Accessibility & contrast

On white

10.72
#452498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#452498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452498
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452498#FFFFFF#000000##FFFFFF
##4524981.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#24445C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452498;
/* rgb */ color: rgb(69, 36, 152);
/* oklch */ color: oklch(38.3% 0.175 288.2);
Tailwind
colors: {
  custom: {
    50: '#8263b7',
    500: '#452498',
    950: '#000000',
  },
}
SCSS
$custom: #452498;
$custom-light: #8263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452498",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 257.069,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.383,
    "c": 0.17473,
    "h": 288.2
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#452498
secondary
#A1BE5A
accent
#E543B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452498

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

Preview Lab → · Contrast checker → · Palette generator →

#452498 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva