#451786#451786

#451786 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.167 H 294.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#451786
RGBrgb(69, 23, 134)
HSLhsl(265, 71%, 31%)
HSVhsv(265, 83%, 53%)
CMYKcmyk(48.5%, 82.8%, 0%, 47.5%)
CIE-LABlab(22.30, 45.12, -52.86)
CIE-LCHlch(22.30, 69.50, 310.49°)
OKLaboklab(35.09% 0.0701 -0.1516)
OKLCHoklch(35.09% 0.167 294.8)
XYZxyz(7.0625, 3.5990, 22.8722)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451786 #588617
analogous
#172086 #451786 #7C1786
triadic
#451786 #864517 #178645
tetradic
#451786 #861720 #588617 #17867C
square
#451786 #861720 #588617 #17867C
split-complementary
#451786 #867C17 #208617
monochromatic
#0F051E #2A0E52 #451786 #6020BA #7E3ADD

Accessibility & contrast

On white

12.21
#451786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#451786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451786
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451786#FFFFFF#000000##FFFFFF
##4517861.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#32374F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451786;
/* rgb */ color: rgb(69, 23, 134);
/* oklch */ color: oklch(35.1% 0.167 294.8);
Tailwind
colors: {
  custom: {
    50: '#805baa',
    500: '#451786',
    950: '#000000',
  },
}
SCSS
$custom: #451786;
$custom-light: #805baa;
$custom-dark: #000000;
JSON
{
  "hex": "#451786",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 264.865,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.16705,
    "h": 294.8
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#451786
secondary
#87BA3F
accent
#ED3AA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #451786

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

Preview Lab → · Contrast checker → · Palette generator →

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