#461871#461871

#461871 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.143 H 302.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#461871
RGBrgb(70, 24, 113)
HSLhsl(271, 65%, 27%)
HSVhsv(271, 79%, 44%)
CMYKcmyk(38.1%, 78.8%, 0%, 55.7%)
CIE-LABlab(20.63, 39.34, -42.22)
CIE-LCHlch(20.63, 57.71, 312.98°)
OKLaboklab(33.35% 0.0772 -0.1204)
OKLCHoklch(33.35% 0.143 302.7)
XYZxyz(5.8323, 3.1476, 15.9199)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461871 #437118
analogous
#191871 #461871 #711870
triadic
#461871 #714618 #187146
tetradic
#461871 #711918 #437118 #187071
square
#461871 #711918 #437118 #187071
split-complementary
#461871 #707118 #187119
monochromatic
#100519 #270D3F #461871 #6523A3 #8430D3

Accessibility & contrast

On white

12.89
#461871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#461871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461871
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461871#FFFFFF#000000##FFFFFF
##4618711.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#3D2F43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #461871;
/* rgb */ color: rgb(70, 24, 113);
/* oklch */ color: oklch(33.3% 0.143 302.7);
Tailwind
colors: {
  custom: {
    50: '#7e5a9b',
    500: '#461871',
    950: '#000000',
  },
}
SCSS
$custom: #461871;
$custom-light: #7e5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#461871",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 271.011,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33347,
    "c": 0.143,
    "h": 302.7
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#461871
secondary
#71A63E
accent
#E84091
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #461871

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

Preview Lab → · Contrast checker → · Palette generator →

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