#451581#451581

#451581 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.163 H 296.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#451581
RGBrgb(69, 21, 129)
HSLhsl(267, 72%, 29%)
HSVhsv(267, 84%, 51%)
CMYKcmyk(46.5%, 83.7%, 0%, 49.4%)
CIE-LABlab(21.53, 44.61, -50.97)
CIE-LCHlch(21.53, 67.74, 311.20°)
OKLaboklab(34.4% 0.0733 -0.1461)
OKLCHoklch(34.4% 0.163 296.6)
XYZxyz(6.6838, 3.3864, 21.0661)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451581 #518115
analogous
#151B81 #451581 #7B1581
triadic
#451581 #814515 #158145
tetradic
#451581 #81151B #518115 #15817B
square
#451581 #81151B #518115 #15817B
split-complementary
#451581 #817B15 #1B8115
monochromatic
#0E041A #290C4C #451581 #611EB6 #7F33DE

Accessibility & contrast

On white

12.52
#451581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#451581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451581
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451581#FFFFFF#000000##FFFFFF
##4515811.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#34344C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451581;
/* rgb */ color: rgb(69, 21, 129);
/* oklch */ color: oklch(34.4% 0.163 296.6);
Tailwind
colors: {
  custom: {
    50: '#805aa7',
    500: '#451581',
    950: '#000000',
  },
}
SCSS
$custom: #451581;
$custom-light: #805aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#451581",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 266.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34404,
    "c": 0.16344,
    "h": 296.6
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#451581
secondary
#80B63C
accent
#EF399E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451581

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

Preview Lab → · Contrast checker → · Palette generator →

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