#461772#461772

#461772 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.145 H 302.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#461772
RGBrgb(70, 23, 114)
HSLhsl(271, 66%, 27%)
HSVhsv(271, 80%, 45%)
CMYKcmyk(38.6%, 79.8%, 0%, 55.3%)
CIE-LABlab(20.56, 40.05, -42.97)
CIE-LCHlch(20.56, 58.74, 312.98°)
OKLaboklab(33.33% 0.0779 -0.1226)
OKLCHoklch(33.33% 0.145 302.4)
XYZxyz(5.8687, 3.1298, 16.2112)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461772 #437217
analogous
#191772 #461772 #721771
triadic
#461772 #724617 #177246
tetradic
#461772 #721917 #437217 #177172
square
#461772 #721917 #437217 #177172
split-complementary
#461772 #717217 #177219
monochromatic
#100519 #270D3F #461772 #6521A5 #842ED5

Accessibility & contrast

On white

12.92
#461772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#461772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461772
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461772#FFFFFF#000000##FFFFFF
##4617721.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#3D2F44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #461772;
/* rgb */ color: rgb(70, 23, 114);
/* oklch */ color: oklch(33.3% 0.145 302.4);
Tailwind
colors: {
  custom: {
    50: '#7e5a9b',
    500: '#461772',
    950: '#000000',
  },
}
SCSS
$custom: #461772;
$custom-light: #7e5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#461772",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 270.989,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33326,
    "c": 0.14525,
    "h": 302.4
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#461772
secondary
#71A83D
accent
#E93E91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #461772

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

Preview Lab → · Contrast checker → · Palette generator →

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