#461872#461872

#461872 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.144 H 302.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#461872
RGBrgb(70, 24, 114)
HSLhsl(271, 65%, 27%)
HSVhsv(271, 79%, 45%)
CMYKcmyk(38.6%, 78.9%, 0%, 55.3%)
CIE-LABlab(20.71, 39.60, -42.72)
CIE-LCHlch(20.71, 58.25, 312.83°)
OKLaboklab(33.44% 0.0769 -0.1219)
OKLCHoklch(33.44% 0.144 302.3)
XYZxyz(5.8890, 3.1702, 16.2180)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461872 #447218
analogous
#191872 #461872 #721871
triadic
#461872 #724618 #187246
tetradic
#461872 #721918 #447218 #187172
square
#461872 #721918 #447218 #187172
split-complementary
#461872 #717218 #187219
monochromatic
#100519 #270D3F #461872 #6523A5 #8431D4

Accessibility & contrast

On white

12.85
#461872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461872
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461872#FFFFFF#000000##FFFFFF
##4618721.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #461872;
/* rgb */ color: rgb(70, 24, 114);
/* oklch */ color: oklch(33.4% 0.144 302.3);
Tailwind
colors: {
  custom: {
    50: '#7e5a9b',
    500: '#461872',
    950: '#000000',
  },
}
SCSS
$custom: #461872;
$custom-light: #7e5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#461872",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 270.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33436,
    "c": 0.14411,
    "h": 302.3
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#461872
secondary
#72A73E
accent
#E84092
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #461872

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

Preview Lab → · Contrast checker → · Palette generator →

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