#461578#461578

#461578 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.154 H 300.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#461578
RGBrgb(70, 21, 120)
HSLhsl(270, 70%, 28%)
HSVhsv(270, 83%, 47%)
CMYKcmyk(41.7%, 82.5%, 0%, 52.9%)
CIE-LABlab(20.81, 42.45, -46.42)
CIE-LCHlch(20.81, 62.90, 312.44°)
OKLaboklab(33.67% 0.0779 -0.1327)
OKLCHoklch(33.67% 0.154 300.4)
XYZxyz(6.1833, 3.1944, 18.0565)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461578 #477815
analogous
#151578 #461578 #771578
triadic
#461578 #784615 #157846
tetradic
#461578 #781515 #477815 #157877
square
#461578 #781515 #477815 #157877
split-complementary
#461578 #787715 #157815
monochromatic
#0F051A #280C44 #461578 #641EAC #832DDA

Accessibility & contrast

On white

12.81
#461578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#461578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461578
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461578#FFFFFF#000000##FFFFFF
##4615781.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#3A3047
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #461578;
/* rgb */ color: rgb(70, 21, 120);
/* oklch */ color: oklch(33.7% 0.154 300.4);
Tailwind
colors: {
  custom: {
    50: '#7f59a0',
    500: '#461578',
    950: '#000000',
  },
}
SCSS
$custom: #461578;
$custom-light: #7f59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#461578",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 269.697,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33669,
    "c": 0.15388,
    "h": 300.4
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#461578
secondary
#75AE3B
accent
#ED3B95
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #461578

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

Preview Lab → · Contrast checker → · Palette generator →

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