#461F78#461F78

#461F78 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.142 H 298.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#461F78
RGBrgb(70, 31, 120)
HSLhsl(266, 59%, 30%)
HSVhsv(266, 74%, 47%)
CMYKcmyk(41.7%, 74.2%, 0%, 52.9%)
CIE-LABlab(22.44, 37.79, -43.76)
CIE-LCHlch(22.44, 57.82, 310.82°)
OKLaboklab(34.82% 0.0684 -0.125)
OKLCHoklch(34.82% 0.142 298.7)
XYZxyz(6.4051, 3.6380, 18.1304)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461F78 #51781F
analogous
#1F2578 #461F78 #731F78
triadic
#461F78 #78461F #1F7846
tetradic
#461F78 #781F25 #51781F #1F7873
square
#461F78 #781F25 #51781F #1F7873
split-complementary
#461F78 #78731F #25781F
monochromatic
#0E0618 #2A1247 #461F78 #622CA9 #8043CE

Accessibility & contrast

On white

12.16
#461F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#461F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461F78
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461F78#FFFFFF#000000##FFFFFF
##461F781.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#3A3549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #461f78;
/* rgb */ color: rgb(70, 31, 120);
/* oklch */ color: oklch(34.8% 0.142 298.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ea0',
    500: '#461f78',
    950: '#000000',
  },
}
SCSS
$custom: #461f78;
$custom-light: #7e5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#461f78",
  "rgb": {
    "r": 70,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 266.292,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34816,
    "c": 0.14248,
    "h": 298.7
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#461F78
secondary
#80AB47
accent
#E2469E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #461F78

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

Preview Lab → · Contrast checker → · Palette generator →

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