#451881#451881

#451881 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.161 H 296.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#451881
RGBrgb(69, 24, 129)
HSLhsl(266, 69%, 30%)
HSVhsv(266, 81%, 51%)
CMYKcmyk(46.5%, 81.4%, 0%, 49.4%)
CIE-LABlab(21.96, 43.37, -50.27)
CIE-LCHlch(21.96, 66.39, 310.79°)
OKLaboklab(34.7% 0.071 -0.1441)
OKLCHoklch(34.7% 0.161 296.2)
XYZxyz(6.7423, 3.5033, 21.0856)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451881 #548118
analogous
#182081 #451881 #791881
triadic
#451881 #814518 #188145
tetradic
#451881 #811820 #548118 #188179
square
#451881 #811820 #548118 #188179
split-complementary
#451881 #817918 #208118
monochromatic
#0E051A #290E4D #451881 #6122B5 #7E39DA

Accessibility & contrast

On white

12.35
#451881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#451881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451881
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451881#FFFFFF#000000##FFFFFF
##4518811.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#34354D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451881;
/* rgb */ color: rgb(69, 24, 129);
/* oklch */ color: oklch(34.7% 0.161 296.2);
Tailwind
colors: {
  custom: {
    50: '#7f5ba7',
    500: '#451881',
    950: '#000000',
  },
}
SCSS
$custom: #451881;
$custom-light: #7f5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#451881",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 265.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.34701,
    "c": 0.16059,
    "h": 296.2
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#451881
secondary
#83B540
accent
#EB3CA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451881

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

Preview Lab → · Contrast checker → · Palette generator →

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