#452971#452971

#452971 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.6% C 0.119 H 298.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#452971
RGBrgb(69, 41, 113)
HSLhsl(263, 47%, 30%)
HSVhsv(263, 64%, 44%)
CMYKcmyk(38.9%, 63.7%, 0%, 55.7%)
CIE-LABlab(23.81, 29.95, -37.05)
CIE-LCHlch(23.81, 47.65, 308.95°)
OKLaboklab(35.6% 0.056 -0.1053)
OKLCHoklch(35.6% 0.119 298)
XYZxyz(6.2271, 4.0433, 16.0719)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452971 #557129
analogous
#293171 #452971 #692971
triadic
#452971 #714529 #297145
tetradic
#452971 #712931 #557129 #297169
square
#452971 #712931 #557129 #297169
split-complementary
#452971 #716929 #317129
monochromatic
#0E0817 #2A1944 #452971 #60399E #7E54C1

Accessibility & contrast

On white

11.61
#452971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452971
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452971#FFFFFF#000000##FFFFFF
##4529711.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#0B386F
Tritanopia (blue-blind)
#3B3949
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452971;
/* rgb */ color: rgb(69, 41, 113);
/* oklch */ color: oklch(35.6% 0.119 298.0);
Tailwind
colors: {
  custom: {
    50: '#7c649a',
    500: '#452971',
    950: '#000000',
  },
}
SCSS
$custom: #452971;
$custom-light: #7c649a;
$custom-dark: #000000;
JSON
{
  "hex": "#452971",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 263.333,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35603,
    "c": 0.11927,
    "h": 298
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#452971
secondary
#84A353
accent
#D651A3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #452971

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

Preview Lab → · Contrast checker → · Palette generator →

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