#451781#451781

#451781 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.162 H 296.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#451781
RGBrgb(69, 23, 129)
HSLhsl(266, 70%, 30%)
HSVhsv(266, 82%, 51%)
CMYKcmyk(46.5%, 82.2%, 0%, 49.4%)
CIE-LABlab(21.81, 43.80, -50.51)
CIE-LCHlch(21.81, 66.85, 310.93°)
OKLaboklab(34.6% 0.0718 -0.1448)
OKLCHoklch(34.6% 0.162 296.4)
XYZxyz(6.7220, 3.4628, 21.0788)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451781 #538117
analogous
#171E81 #451781 #7A1781
triadic
#451781 #814517 #178145
tetradic
#451781 #81171E #538117 #17817A
square
#451781 #81171E #538117 #17817A
split-complementary
#451781 #817A17 #1E8117
monochromatic
#0E051A #290E4D #451781 #6120B5 #7E37DB

Accessibility & contrast

On white

12.41
#451781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#451781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451781
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451781#FFFFFF#000000##FFFFFF
##4517811.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451781;
/* rgb */ color: rgb(69, 23, 129);
/* oklch */ color: oklch(34.6% 0.162 296.4);
Tailwind
colors: {
  custom: {
    50: '#805ba7',
    500: '#451781',
    950: '#000000',
  },
}
SCSS
$custom: #451781;
$custom-light: #805ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#451781",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 266.038,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34599,
    "c": 0.16157,
    "h": 296.4
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#451781
secondary
#82B53E
accent
#ED3BA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451781

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

Preview Lab → · Contrast checker → · Palette generator →

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