#461678#461678

#461678 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.153 H 300.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#461678
RGBrgb(70, 22, 120)
HSLhsl(269, 69%, 28%)
HSVhsv(269, 82%, 47%)
CMYKcmyk(41.7%, 81.7%, 0%, 52.9%)
CIE-LABlab(20.95, 42.03, -46.19)
CIE-LCHlch(20.95, 62.45, 312.30°)
OKLaboklab(33.77% 0.077 -0.132)
OKLCHoklch(33.77% 0.153 300.3)
XYZxyz(6.2020, 3.2319, 18.0627)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461678 #487816
analogous
#161778 #461678 #771678
triadic
#461678 #784616 #167846
tetradic
#461678 #781617 #487816 #167877
square
#461678 #781617 #487816 #167877
split-complementary
#461678 #787716 #177816
monochromatic
#0F051A #280D44 #461678 #641FAC #822FD9

Accessibility & contrast

On white

12.76
#461678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#461678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461678
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461678#FFFFFF#000000##FFFFFF
##4616781.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #461678;
/* rgb */ color: rgb(70, 22, 120);
/* oklch */ color: oklch(33.8% 0.153 300.3);
Tailwind
colors: {
  custom: {
    50: '#7f5aa0',
    500: '#461678',
    950: '#000000',
  },
}
SCSS
$custom: #461678;
$custom-light: #7f5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#461678",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 269.388,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33769,
    "c": 0.15287,
    "h": 300.3
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#461678
secondary
#76AD3C
accent
#EC3C96
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #461678

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

Preview Lab → · Contrast checker → · Palette generator →

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