#451872#451872

#451872 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.144 H 301.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#451872
RGBrgb(69, 24, 114)
HSLhsl(270, 65%, 27%)
HSVhsv(270, 79%, 45%)
CMYKcmyk(39.5%, 78.9%, 0%, 55.3%)
CIE-LABlab(20.57, 39.41, -42.96)
CIE-LCHlch(20.57, 58.30, 312.54°)
OKLaboklab(33.31% 0.0754 -0.1226)
OKLCHoklch(33.31% 0.144 301.6)
XYZxyz(5.8174, 3.1334, 16.2146)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451872 #457218
analogous
#181872 #451872 #721872
triadic
#451872 #724518 #187245
tetradic
#451872 #721818 #457218 #187272
square
#451872 #721818 #457218 #187272
split-complementary
#451872 #727218 #187218
monochromatic
#0F0519 #260D3F #451872 #6423A5 #8231D4

Accessibility & contrast

On white

12.91
#451872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#451872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451872
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451872#FFFFFF#000000##FFFFFF
##4518721.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#3B2F44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451872;
/* rgb */ color: rgb(69, 24, 114);
/* oklch */ color: oklch(33.3% 0.144 301.6);
Tailwind
colors: {
  custom: {
    50: '#7e5a9b',
    500: '#451872',
    950: '#000000',
  },
}
SCSS
$custom: #451872;
$custom-light: #7e5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451872",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 270,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.14391,
    "h": 301.6
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#451872
secondary
#73A73E
accent
#E84094
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451872

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

Preview Lab → · Contrast checker → · Palette generator →

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