#461971#461971

#461971 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.142 H 302.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#461971
RGBrgb(70, 25, 113)
HSLhsl(271, 64%, 27%)
HSVhsv(271, 78%, 44%)
CMYKcmyk(38.1%, 77.9%, 0%, 55.7%)
CIE-LABlab(20.79, 38.88, -41.95)
CIE-LCHlch(20.79, 57.20, 312.83°)
OKLaboklab(33.46% 0.0762 -0.1196)
OKLCHoklch(33.46% 0.142 302.5)
XYZxyz(5.8533, 3.1896, 15.9269)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461971 #447119
analogous
#1A1971 #461971 #711970
triadic
#461971 #714619 #197146
tetradic
#461971 #711A19 #447119 #197071
square
#461971 #711A19 #447119 #197071
split-complementary
#461971 #707119 #19711A
monochromatic
#100619 #270E3F #461971 #6524A3 #8433D2

Accessibility & contrast

On white

12.82
#461971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#461971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461971
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461971#FFFFFF#000000##FFFFFF
##4619711.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#3D2F44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #461971;
/* rgb */ color: rgb(70, 25, 113);
/* oklch */ color: oklch(33.5% 0.142 302.5);
Tailwind
colors: {
  custom: {
    50: '#7e5b9b',
    500: '#461971',
    950: '#000000',
  },
}
SCSS
$custom: #461971;
$custom-light: #7e5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#461971",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 270.682,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.14182,
    "h": 302.5
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#461971
secondary
#72A640
accent
#E74192
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #461971

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

Preview Lab → · Contrast checker → · Palette generator →

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