#451981#451981

#451981 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.160 H 296.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#451981
RGBrgb(69, 25, 129)
HSLhsl(265, 68%, 30%)
HSVhsv(265, 81%, 51%)
CMYKcmyk(46.5%, 80.6%, 0%, 49.4%)
CIE-LABlab(22.11, 42.94, -50.02)
CIE-LCHlch(22.11, 65.92, 310.64°)
OKLaboklab(34.81% 0.0702 -0.1433)
OKLCHoklch(34.81% 0.16 296.1)
XYZxyz(6.7633, 3.5453, 21.0926)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451981 #558119
analogous
#192181 #451981 #791981
triadic
#451981 #814519 #198145
tetradic
#451981 #811921 #558119 #198179
square
#451981 #811921 #558119 #198179
split-complementary
#451981 #817919 #218119
monochromatic
#0E051A #2A0F4E #451981 #6023B4 #7E3BD9

Accessibility & contrast

On white

12.29
#451981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#451981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451981
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451981#FFFFFF#000000##FFFFFF
##4519811.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451981;
/* rgb */ color: rgb(69, 25, 129);
/* oklch */ color: oklch(34.8% 0.160 296.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ba7',
    500: '#451981',
    950: '#000000',
  },
}
SCSS
$custom: #451981;
$custom-light: #7f5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#451981",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 265.385,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34806,
    "c": 0.1596,
    "h": 296.1
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#451981
secondary
#84B541
accent
#EA3DA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451981

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

Preview Lab → · Contrast checker → · Palette generator →

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