#452097#452097

#452097 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.178 H 289.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#452097
RGBrgb(69, 32, 151)
HSLhsl(259, 65%, 36%)
HSVhsv(259, 79%, 59%)
CMYKcmyk(54.3%, 78.8%, 0%, 40.8%)
CIE-LABlab(25.36, 45.81, -58.39)
CIE-LCHlch(25.36, 74.22, 308.11°)
OKLaboklab(37.72% 0.0579 -0.1679)
OKLCHoklch(37.72% 0.178 289)
XYZxyz(8.5550, 4.5322, 29.6962)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452097 #729720
analogous
#203797 #452097 #802097
triadic
#452097 #974520 #209745
tetradic
#452097 #972037 #729720 #209780
square
#452097 #972037 #729720 #209780
split-complementary
#452097 #978020 #379720
monochromatic
#170B32 #2E1564 #452097 #5C2BC9 #8056DB

Accessibility & contrast

On white

11.01
#452097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#452097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452097
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452097#FFFFFF#000000##FFFFFF
##4520971.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452097;
/* rgb */ color: rgb(69, 32, 151);
/* oklch */ color: oklch(37.7% 0.178 289.0);
Tailwind
colors: {
  custom: {
    50: '#8260b7',
    500: '#452097',
    950: '#000000',
  },
}
SCSS
$custom: #452097;
$custom-light: #8260b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452097",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 258.655,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.17763,
    "h": 289
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#452097
secondary
#9EBF54
accent
#E840B4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #452097

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

Preview Lab → · Contrast checker → · Palette generator →

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