#451871#451871

#451871 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.143 H 302.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#451871
RGBrgb(69, 24, 113)
HSLhsl(270, 65%, 27%)
HSVhsv(270, 79%, 44%)
CMYKcmyk(38.9%, 78.8%, 0%, 55.7%)
CIE-LABlab(20.48, 39.16, -42.46)
CIE-LCHlch(20.48, 57.76, 312.68°)
OKLaboklab(33.22% 0.0756 -0.1211)
OKLCHoklch(33.22% 0.143 302)
XYZxyz(5.7608, 3.1107, 15.9165)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451871 #447118
analogous
#181871 #451871 #711871
triadic
#451871 #714518 #187145
tetradic
#451871 #711818 #447118 #187171
square
#451871 #711818 #447118 #187171
split-complementary
#451871 #717118 #187118
monochromatic
#0F0519 #260D3F #451871 #6423A3 #8330D3

Accessibility & contrast

On white

12.95
#451871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#451871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451871
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451871#FFFFFF#000000##FFFFFF
##4518711.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#3C2F43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #451871;
/* rgb */ color: rgb(69, 24, 113);
/* oklch */ color: oklch(33.2% 0.143 302.0);
Tailwind
colors: {
  custom: {
    50: '#7d5a9b',
    500: '#451871',
    950: '#000000',
  },
}
SCSS
$custom: #451871;
$custom-light: #7d5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451871",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 270.337,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33215,
    "c": 0.14279,
    "h": 302
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#451871
secondary
#72A63E
accent
#E84093
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451871

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

Preview Lab → · Contrast checker → · Palette generator →

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