#461172#461172

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

Color values

HEX#461172
RGBrgb(70, 17, 114)
HSLhsl(273, 74%, 26%)
HSVhsv(273, 85%, 45%)
CMYKcmyk(38.6%, 85.1%, 0%, 55.3%)
CIE-LABlab(19.71, 42.50, -44.35)
CIE-LCHlch(19.71, 61.43, 313.78°)
OKLaboklab(32.74% 0.083 -0.1266)
OKLCHoklch(32.74% 0.151 303.3)
XYZxyz(5.7628, 2.9179, 16.1759)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461172 #3D7211
analogous
#161172 #461172 #72116D
triadic
#461172 #724611 #117246
tetradic
#461172 #721611 #3D7211 #116D72
square
#461172 #721611 #3D7211 #116D72
split-complementary
#461172 #6D7211 #117216
monochromatic
#10041B #25093D #461172 #6719A7 #8721DD

Accessibility & contrast

On white

13.26
#461172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461172
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461172#FFFFFF#000000##FFFFFF
##4611721.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#3D2C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #461172;
/* rgb */ color: rgb(70, 17, 114);
/* oklch */ color: oklch(32.7% 0.151 303.3);
Tailwind
colors: {
  custom: {
    50: '#7f579b',
    500: '#461172',
    950: '#000000',
  },
}
SCSS
$custom: #461172;
$custom-light: #7f579b;
$custom-dark: #000000;
JSON
{
  "hex": "#461172",
  "rgb": {
    "r": 70,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 272.784,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32737,
    "c": 0.15141,
    "h": 303.3
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#461172
secondary
#6AA936
accent
#F1378B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #461172

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

Preview Lab → · Contrast checker → · Palette generator →

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