#452074#452074

#452074 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.136 H 299.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#452074
RGBrgb(69, 32, 116)
HSLhsl(266, 57%, 29%)
HSVhsv(266, 72%, 45%)
CMYKcmyk(40.5%, 72.4%, 0%, 54.5%)
CIE-LABlab(22.16, 35.96, -41.66)
CIE-LCHlch(22.16, 55.04, 310.80°)
OKLaboklab(34.48% 0.0666 -0.1188)
OKLCHoklch(34.48% 0.136 299.3)
XYZxyz(6.1224, 3.5591, 16.8840)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452074 #4F7420
analogous
#202574 #452074 #6F2074
triadic
#452074 #744520 #207445
tetradic
#452074 #742025 #4F7420 #20746F
square
#452074 #742025 #4F7420 #20746F
split-complementary
#452074 #746F20 #257420
monochromatic
#0E0718 #281344 #452074 #622DA4 #7F43CB

Accessibility & contrast

On white

12.27
#452074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#452074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452074
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452074#FFFFFF#000000##FFFFFF
##4520741.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#3A3447
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #452074;
/* rgb */ color: rgb(69, 32, 116);
/* oklch */ color: oklch(34.5% 0.136 299.3);
Tailwind
colors: {
  custom: {
    50: '#7d5f9d',
    500: '#452074',
    950: '#000000',
  },
}
SCSS
$custom: #452074;
$custom-light: #7d5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#452074",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 266.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34482,
    "c": 0.13623,
    "h": 299.3
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#452074
secondary
#7EA848
accent
#E0489D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452074

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

Preview Lab → · Contrast checker → · Palette generator →

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