#452197#452197

#452197 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.177 H 288.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#452197
RGBrgb(69, 33, 151)
HSLhsl(258, 64%, 36%)
HSVhsv(258, 78%, 59%)
CMYKcmyk(54.3%, 78.1%, 0%, 40.8%)
CIE-LABlab(25.52, 45.33, -58.12)
CIE-LCHlch(25.52, 73.71, 307.95°)
OKLaboklab(37.84% 0.0571 -0.1671)
OKLCHoklch(37.84% 0.177 288.9)
XYZxyz(8.5824, 4.5869, 29.7053)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452197 #739721
analogous
#213897 #452197 #802197
triadic
#452197 #974521 #219745
tetradic
#452197 #972138 #739721 #219780
square
#452197 #972138 #739721 #219780
split-complementary
#452197 #978021 #389721
monochromatic
#170B33 #2E1665 #452197 #5C2CC9 #8058DA

Accessibility & contrast

On white

10.95
#452197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#452197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452197
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452197#FFFFFF#000000##FFFFFF
##4521971.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#25425B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #452197;
/* rgb */ color: rgb(69, 33, 151);
/* oklch */ color: oklch(37.8% 0.177 288.9);
Tailwind
colors: {
  custom: {
    50: '#8261b7',
    500: '#452197',
    950: '#000000',
  },
}
SCSS
$custom: #452197;
$custom-light: #8261b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452197",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 258.305,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.17664,
    "h": 288.9
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#452197
secondary
#9EBE55
accent
#E741B4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #452197

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

Preview Lab → · Contrast checker → · Palette generator →

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