#451681#451681

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

Color values

HEX#451681
RGBrgb(69, 22, 129)
HSLhsl(266, 71%, 30%)
HSVhsv(266, 83%, 51%)
CMYKcmyk(46.5%, 82.9%, 0%, 49.4%)
CIE-LABlab(21.67, 44.21, -50.74)
CIE-LCHlch(21.67, 67.30, 311.07°)
OKLaboklab(34.5% 0.0725 -0.1454)
OKLCHoklch(34.5% 0.163 296.5)
XYZxyz(6.7025, 3.4239, 21.0724)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451681 #528116
analogous
#161D81 #451681 #7B1681
triadic
#451681 #814516 #168145
tetradic
#451681 #81161D #528116 #16817B
square
#451681 #81161D #528116 #16817B
split-complementary
#451681 #817B16 #1D8116
monochromatic
#0E041A #290D4D #451681 #611FB5 #7F35DD

Accessibility & contrast

On white

12.46
#451681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451681
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451681#FFFFFF#000000##FFFFFF
##4516811.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451681;
/* rgb */ color: rgb(69, 22, 129);
/* oklch */ color: oklch(34.5% 0.163 296.5);
Tailwind
colors: {
  custom: {
    50: '#805aa7',
    500: '#451681',
    950: '#000000',
  },
}
SCSS
$custom: #451681;
$custom-light: #805aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#451681",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 266.355,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.345,
    "c": 0.16252,
    "h": 296.5
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#451681
secondary
#81B63D
accent
#EE3A9F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451681

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

Preview Lab → · Contrast checker → · Palette generator →

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