#461A78#461A78

#461A78 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.149 H 299.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#461A78
RGBrgb(70, 26, 120)
HSLhsl(268, 64%, 29%)
HSVhsv(268, 78%, 47%)
CMYKcmyk(41.7%, 78.3%, 0%, 52.9%)
CIE-LABlab(21.57, 40.25, -45.18)
CIE-LCHlch(21.57, 60.51, 311.70°)
OKLaboklab(34.2% 0.0735 -0.1291)
OKLCHoklch(34.2% 0.149 299.6)
XYZxyz(6.2845, 3.3969, 18.0902)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461A78 #4C781A
analogous
#1A1D78 #461A78 #751A78
triadic
#461A78 #78461A #1A7846
tetradic
#461A78 #781A1D #4C781A #1A7875
square
#461A78 #781A1D #4C781A #1A7875
split-complementary
#461A78 #78751A #1D781A
monochromatic
#0F0519 #290F46 #461A78 #6325AA #8138D4

Accessibility & contrast

On white

12.50
#461A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#461A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461A78
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461A78#FFFFFF#000000##FFFFFF
##461A781.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#3A3348
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #461a78;
/* rgb */ color: rgb(70, 26, 120);
/* oklch */ color: oklch(34.2% 0.149 299.6);
Tailwind
colors: {
  custom: {
    50: '#7f5ca0',
    500: '#461a78',
    950: '#000000',
  },
}
SCSS
$custom: #461a78;
$custom-light: #7f5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#461a78",
  "rgb": {
    "r": 70,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 268.085,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34202,
    "c": 0.14853,
    "h": 299.6
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#461A78
secondary
#7AAC41
accent
#E74099
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #461A78

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

Preview Lab → · Contrast checker → · Palette generator →

#461A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva