#461877#461877

#461877 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.150 H 300.3°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#461877
RGBrgb(70, 24, 119)
HSLhsl(269, 66%, 28%)
HSVhsv(269, 80%, 47%)
CMYKcmyk(41.2%, 79.8%, 0%, 53.3%)
CIE-LABlab(21.16, 40.90, -45.20)
CIE-LCHlch(21.16, 60.96, 312.14°)
OKLaboklab(33.89% 0.0756 -0.1292)
OKLCHoklch(33.89% 0.15 300.3)
XYZxyz(6.1814, 3.2872, 17.7580)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461877 #497718
analogous
#181977 #461877 #751877
triadic
#461877 #774618 #187746
tetradic
#461877 #771819 #497718 #187775
square
#461877 #771819 #497718 #187775
split-complementary
#461877 #777518 #197718
monochromatic
#0F0519 #280E44 #461877 #6422AA #8233D6

Accessibility & contrast

On white

12.67
#461877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#461877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461877
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461877#FFFFFF#000000##FFFFFF
##4618771.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#3B3147
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #461877;
/* rgb */ color: rgb(70, 24, 119);
/* oklch */ color: oklch(33.9% 0.150 300.3);
Tailwind
colors: {
  custom: {
    50: '#7f5b9f',
    500: '#461877',
    950: '#000000',
  },
}
SCSS
$custom: #461877;
$custom-light: #7f5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#461877",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 269.053,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33887,
    "c": 0.14966,
    "h": 300.3
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#461877
secondary
#77AC3F
accent
#E93E97
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #461877

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

Preview Lab → · Contrast checker → · Palette generator →

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