#461786#461786

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

Color values

HEX#461786
RGBrgb(70, 23, 134)
HSLhsl(265, 71%, 31%)
HSVhsv(265, 83%, 53%)
CMYKcmyk(47.8%, 82.8%, 0%, 47.5%)
CIE-LABlab(22.43, 45.27, -52.64)
CIE-LCHlch(22.43, 69.43, 310.70°)
OKLaboklab(35.21% 0.0717 -0.151)
OKLCHoklch(35.21% 0.167 295.4)
XYZxyz(7.1341, 3.6359, 22.8756)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461786 #578617
analogous
#172086 #461786 #7D1786
triadic
#461786 #864617 #178646
tetradic
#461786 #861720 #578617 #17867D
square
#461786 #861720 #578617 #17867D
split-complementary
#461786 #867D17 #208617
monochromatic
#0F051E #2B0E52 #461786 #6120BA #7F3ADD

Accessibility & contrast

On white

12.16
#461786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#461786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461786
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461786#FFFFFF#000000##FFFFFF
##4617861.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #461786;
/* rgb */ color: rgb(70, 23, 134);
/* oklch */ color: oklch(35.2% 0.167 295.4);
Tailwind
colors: {
  custom: {
    50: '#815baa',
    500: '#461786',
    950: '#000000',
  },
}
SCSS
$custom: #461786;
$custom-light: #815baa;
$custom-dark: #000000;
JSON
{
  "hex": "#461786",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 265.405,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35207,
    "c": 0.16712,
    "h": 295.4
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#461786
secondary
#86BA3F
accent
#ED3AA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #461786

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

Preview Lab → · Contrast checker → · Palette generator →

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