#461271#461271

#461271 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.149 H 303.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#461271
RGBrgb(70, 18, 113)
HSLhsl(273, 73%, 26%)
HSVhsv(273, 84%, 44%)
CMYKcmyk(38.1%, 84.1%, 0%, 55.7%)
CIE-LABlab(19.75, 41.87, -43.65)
CIE-LCHlch(19.75, 60.48, 313.81°)
OKLaboklab(32.73% 0.0826 -0.1245)
OKLCHoklch(32.73% 0.149 303.5)
XYZxyz(5.7220, 2.9270, 15.8831)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461271 #3D7112
analogous
#161271 #461271 #71126C
triadic
#461271 #714612 #127146
tetradic
#461271 #711612 #3D7112 #126C71
square
#461271 #711612 #3D7112 #126C71
split-complementary
#461271 #6C7112 #127116
monochromatic
#10041A #250A3C #461271 #671AA6 #8723DB

Accessibility & contrast

On white

13.25
#461271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#461271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461271
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461271#FFFFFF#000000##FFFFFF
##4612711.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#3D2C42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #461271;
/* rgb */ color: rgb(70, 18, 113);
/* oklch */ color: oklch(32.7% 0.149 303.5);
Tailwind
colors: {
  custom: {
    50: '#7f579b',
    500: '#461271',
    950: '#000000',
  },
}
SCSS
$custom: #461271;
$custom-light: #7f579b;
$custom-dark: #000000;
JSON
{
  "hex": "#461271",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 272.842,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32734,
    "c": 0.14941,
    "h": 303.5
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#461271
secondary
#6AA837
accent
#EF398B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #461271

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

Preview Lab → · Contrast checker → · Palette generator →

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