#461771#461771

#461771 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.144 H 302.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#461771
RGBrgb(70, 23, 113)
HSLhsl(271, 66%, 27%)
HSVhsv(271, 80%, 44%)
CMYKcmyk(38.1%, 79.6%, 0%, 55.7%)
CIE-LABlab(20.47, 39.80, -42.47)
CIE-LCHlch(20.47, 58.20, 313.14°)
OKLaboklab(33.24% 0.0781 -0.1211)
OKLCHoklch(33.24% 0.144 302.8)
XYZxyz(5.8121, 3.1071, 15.9131)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461771 #427117
analogous
#191771 #461771 #71176F
triadic
#461771 #714617 #177146
tetradic
#461771 #711917 #427117 #176F71
square
#461771 #711917 #427117 #176F71
split-complementary
#461771 #6F7117 #177119
monochromatic
#100519 #270D3E #461771 #6621A4 #852ED4

Accessibility & contrast

On white

12.95
#461771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#461771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461771
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461771#FFFFFF#000000##FFFFFF
##4617711.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #461771;
/* rgb */ color: rgb(70, 23, 113);
/* oklch */ color: oklch(33.2% 0.144 302.8);
Tailwind
colors: {
  custom: {
    50: '#7e5a9b',
    500: '#461771',
    950: '#000000',
  },
}
SCSS
$custom: #461771;
$custom-light: #7e5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#461771",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 271.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.14414,
    "h": 302.8
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#461771
secondary
#70A73D
accent
#E93F90
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #461771

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

Preview Lab → · Contrast checker → · Palette generator →

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