#461878#461878

#461878 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.151 H 300.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#461878
RGBrgb(70, 24, 120)
HSLhsl(269, 67%, 28%)
HSVhsv(269, 80%, 47%)
CMYKcmyk(41.7%, 80%, 0%, 52.9%)
CIE-LABlab(21.25, 41.16, -45.70)
CIE-LCHlch(21.25, 61.50, 312.01°)
OKLaboklab(33.98% 0.0753 -0.1306)
OKLCHoklch(33.98% 0.151 300)
XYZxyz(6.2417, 3.3114, 18.0760)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461878 #4A7818
analogous
#181A78 #461878 #761878
triadic
#461878 #784618 #187846
tetradic
#461878 #78181A #4A7818 #187876
square
#461878 #78181A #4A7818 #187876
split-complementary
#461878 #787618 #1A7818
monochromatic
#0F051A #280E45 #461878 #6422AB #8234D6

Accessibility & contrast

On white

12.63
#461878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#461878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461878
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461878#FFFFFF#000000##FFFFFF
##4618781.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#3A3247
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #461878;
/* rgb */ color: rgb(70, 24, 120);
/* oklch */ color: oklch(34.0% 0.151 300.0);
Tailwind
colors: {
  custom: {
    50: '#7f5ba0',
    500: '#461878',
    950: '#000000',
  },
}
SCSS
$custom: #461878;
$custom-light: #7f5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#461878",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 268.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33979,
    "c": 0.15076,
    "h": 300
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#461878
secondary
#78AD3F
accent
#EA3E97
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #461878

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

Preview Lab → · Contrast checker → · Palette generator →

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