#452972#452972

#452972 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.7% C 0.121 H 297.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#452972
RGBrgb(69, 41, 114)
HSLhsl(263, 47%, 30%)
HSVhsv(263, 64%, 45%)
CMYKcmyk(39.5%, 64%, 0%, 55.3%)
CIE-LABlab(23.89, 30.24, -37.57)
CIE-LCHlch(23.89, 48.23, 308.83°)
OKLaboklab(35.68% 0.0559 -0.1069)
OKLCHoklch(35.68% 0.121 297.6)
XYZxyz(6.2837, 4.0659, 16.3701)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452972 #567229
analogous
#293172 #452972 #692972
triadic
#452972 #724529 #297245
tetradic
#452972 #722931 #567229 #297269
square
#452972 #722931 #567229 #297269
split-complementary
#452972 #726929 #317229
monochromatic
#0F0918 #2A1945 #452972 #60399F #7E54C1

Accessibility & contrast

On white

11.58
#452972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#452972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452972
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452972#FFFFFF#000000##FFFFFF
##4529721.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#3A3949
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452972;
/* rgb */ color: rgb(69, 41, 114);
/* oklch */ color: oklch(35.7% 0.121 297.6);
Tailwind
colors: {
  custom: {
    50: '#7c649b',
    500: '#452972',
    950: '#000000',
  },
}
SCSS
$custom: #452972;
$custom-light: #7c649b;
$custom-dark: #000000;
JSON
{
  "hex": "#452972",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 263.014,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3568,
    "c": 0.12061,
    "h": 297.6
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#452972
secondary
#85A453
accent
#D751A3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #452972

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

Preview Lab → · Contrast checker → · Palette generator →

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