#461C78#461C78

#461C78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.146 H 299.3°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#461C78
RGBrgb(70, 28, 120)
HSLhsl(267, 62%, 29%)
HSVhsv(267, 77%, 47%)
CMYKcmyk(41.7%, 76.7%, 0%, 52.9%)
CIE-LABlab(21.90, 39.30, -44.63)
CIE-LCHlch(21.90, 59.47, 311.37°)
OKLaboklab(34.44% 0.0715 -0.1275)
OKLCHoklch(34.44% 0.146 299.3)
XYZxyz(6.3303, 3.4886, 18.1055)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461C78 #4E781C
analogous
#1C2078 #461C78 #741C78
triadic
#461C78 #78461C #1C7846
tetradic
#461C78 #781C20 #4E781C #1C7874
square
#461C78 #781C20 #4E781C #1C7874
split-complementary
#461C78 #78741C #20781C
monochromatic
#0E0619 #291046 #461C78 #6328AA #813DD2

Accessibility & contrast

On white

12.37
#461C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#461C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461C78
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461C78#FFFFFF#000000##FFFFFF
##461C781.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #461c78;
/* rgb */ color: rgb(70, 28, 120);
/* oklch */ color: oklch(34.4% 0.146 299.3);
Tailwind
colors: {
  custom: {
    50: '#7f5da0',
    500: '#461c78',
    950: '#000000',
  },
}
SCSS
$custom: #461c78;
$custom-light: #7f5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#461c78",
  "rgb": {
    "r": 70,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 267.391,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.14619,
    "h": 299.3
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#461C78
secondary
#7CAC44
accent
#E5439B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #461C78

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

Preview Lab → · Contrast checker → · Palette generator →

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