#452371#452371

#452371 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.128 H 299.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#452371
RGBrgb(69, 35, 113)
HSLhsl(266, 53%, 29%)
HSVhsv(266, 69%, 44%)
CMYKcmyk(38.9%, 69%, 0%, 55.7%)
CIE-LABlab(22.51, 33.47, -39.16)
CIE-LCHlch(22.51, 51.51, 310.53°)
OKLaboklab(34.66% 0.0635 -0.1115)
OKLCHoklch(34.66% 0.128 299.7)
XYZxyz(6.0352, 3.6595, 16.0080)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452371 #4F7123
analogous
#232871 #452371 #6C2371
triadic
#452371 #714523 #237145
tetradic
#452371 #712328 #4F7123 #23716C
square
#452371 #712328 #4F7123 #23716C
split-complementary
#452371 #716C23 #287123
monochromatic
#0E0717 #281542 #452371 #6231A0 #7F48C6

Accessibility & contrast

On white

12.12
#452371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#452371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452371
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452371#FFFFFF#000000##FFFFFF
##4523711.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#3B3546
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452371;
/* rgb */ color: rgb(69, 35, 113);
/* oklch */ color: oklch(34.7% 0.128 299.7);
Tailwind
colors: {
  custom: {
    50: '#7d609a',
    500: '#452371',
    950: '#000000',
  },
}
SCSS
$custom: #452371;
$custom-light: #7d609a;
$custom-dark: #000000;
JSON
{
  "hex": "#452371",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 266.154,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3466,
    "c": 0.12833,
    "h": 299.7
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#452371
secondary
#7EA44C
accent
#DC4C9D
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452371

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

Preview Lab → · Contrast checker → · Palette generator →

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