#452C98#452C98

#452C98 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.166 H 286.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#452C98
RGBrgb(69, 44, 152)
HSLhsl(254, 55%, 38%)
HSVhsv(254, 71%, 60%)
CMYKcmyk(54.6%, 71.1%, 0%, 40.4%)
CIE-LABlab(27.66, 39.87, -55.23)
CIE-LCHlch(27.66, 68.11, 305.82°)
OKLaboklab(39.38% 0.0476 -0.1587)
OKLCHoklch(39.38% 0.166 286.7)
XYZxyz(9.0207, 5.3331, 30.2537)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452C98 #7F982C
analogous
#2C4998 #452C98 #7B2C98
triadic
#452C98 #98452C #2C9845
tetradic
#452C98 #982C49 #7F982C #2C987B
square
#452C98 #982C49 #7F982C #2C987B
split-complementary
#452C98 #987B2C #49982C
monochromatic
#1A1139 #2F1E69 #452C98 #5B3BC6 #836AD4

Accessibility & contrast

On white

10.16
#452C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#452C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452C98
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452C98#FFFFFF#000000##FFFFFF
##452C981.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#23485E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #452c98;
/* rgb */ color: rgb(69, 44, 152);
/* oklch */ color: oklch(39.4% 0.166 286.7);
Tailwind
colors: {
  custom: {
    50: '#8167b7',
    500: '#452c98',
    950: '#000000',
  },
}
SCSS
$custom: #452c98;
$custom-light: #8167b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452c98",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 253.889,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3938,
    "c": 0.16573,
    "h": 286.7
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#452C98
secondary
#A7BB65
accent
#DE49BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452C98

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

Preview Lab → · Contrast checker → · Palette generator →

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