#452071#452071

#452071 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.133 H 300.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#452071
RGBrgb(69, 32, 113)
HSLhsl(267, 56%, 28%)
HSVhsv(267, 72%, 44%)
CMYKcmyk(38.9%, 71.7%, 0%, 55.7%)
CIE-LABlab(21.91, 35.14, -40.13)
CIE-LCHlch(21.91, 53.34, 311.20°)
OKLaboklab(34.23% 0.0671 -0.1143)
OKLCHoklch(34.23% 0.133 300.4)
XYZxyz(5.9507, 3.4904, 15.9798)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452071 #4C7120
analogous
#202471 #452071 #6D2071
triadic
#452071 #714520 #207145
tetradic
#452071 #712024 #4C7120 #20716D
square
#452071 #712024 #4C7120 #20716D
split-complementary
#452071 #716D20 #247120
monochromatic
#0F0718 #281241 #452071 #622EA1 #8042C9

Accessibility & contrast

On white

12.37
#452071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#452071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452071
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452071#FFFFFF#000000##FFFFFF
##4520711.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#3B3346
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #452071;
/* rgb */ color: rgb(69, 32, 113);
/* oklch */ color: oklch(34.2% 0.133 300.4);
Tailwind
colors: {
  custom: {
    50: '#7d5e9a',
    500: '#452071',
    950: '#000000',
  },
}
SCSS
$custom: #452071;
$custom-light: #7d5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#452071",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 267.407,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.13257,
    "h": 300.4
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#452071
secondary
#7AA548
accent
#DF499A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452071

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

Preview Lab → · Contrast checker → · Palette generator →

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