#461171#461171

#461171 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.150 H 303.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#461171
RGBrgb(70, 17, 113)
HSLhsl(273, 74%, 25%)
HSVhsv(273, 85%, 44%)
CMYKcmyk(38.1%, 85%, 0%, 55.7%)
CIE-LABlab(19.62, 42.25, -43.86)
CIE-LCHlch(19.62, 60.90, 313.93°)
OKLaboklab(32.64% 0.0833 -0.1251)
OKLCHoklch(32.64% 0.15 303.7)
XYZxyz(5.7062, 2.8953, 15.8778)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461171 #3C7111
analogous
#161171 #461171 #71116C
triadic
#461171 #714611 #117146
tetradic
#461171 #711611 #3C7111 #116C71
square
#461171 #711611 #3C7111 #116C71
split-complementary
#461171 #6C7111 #117116
monochromatic
#10041B #25093C #461171 #6719A6 #8821DB

Accessibility & contrast

On white

13.30
#461171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#461171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461171
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461171#FFFFFF#000000##FFFFFF
##4611711.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#3D2C42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #461171;
/* rgb */ color: rgb(70, 17, 113);
/* oklch */ color: oklch(32.6% 0.150 303.7);
Tailwind
colors: {
  custom: {
    50: '#7f579b',
    500: '#461171',
    950: '#000000',
  },
}
SCSS
$custom: #461171;
$custom-light: #7f579b;
$custom-dark: #000000;
JSON
{
  "hex": "#461171",
  "rgb": {
    "r": 70,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 273.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32644,
    "c": 0.15037,
    "h": 303.7
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#461171
secondary
#69A836
accent
#F1378A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #461171

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

Preview Lab → · Contrast checker → · Palette generator →

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