#461781#461781

#461781 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.162 H 297.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#461781
RGBrgb(70, 23, 129)
HSLhsl(267, 70%, 30%)
HSVhsv(267, 82%, 51%)
CMYKcmyk(45.7%, 82.2%, 0%, 49.4%)
CIE-LABlab(21.94, 43.95, -50.28)
CIE-LCHlch(21.94, 66.79, 311.16°)
OKLaboklab(34.72% 0.0734 -0.1441)
OKLCHoklch(34.72% 0.162 297)
XYZxyz(6.7936, 3.4997, 21.0822)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461781 #528117
analogous
#171D81 #461781 #7B1781
triadic
#461781 #814617 #178146
tetradic
#461781 #81171D #528117 #17817B
square
#461781 #81171D #528117 #17817B
split-complementary
#461781 #817B17 #1D8117
monochromatic
#0E051A #2A0E4D #461781 #6220B5 #8037DB

Accessibility & contrast

On white

12.35
#461781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#461781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461781
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461781#FFFFFF#000000##FFFFFF
##4617811.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#36354C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #461781;
/* rgb */ color: rgb(70, 23, 129);
/* oklch */ color: oklch(34.7% 0.162 297.0);
Tailwind
colors: {
  custom: {
    50: '#805ba7',
    500: '#461781',
    950: '#000000',
  },
}
SCSS
$custom: #461781;
$custom-light: #805ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#461781",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 266.604,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34721,
    "c": 0.16168,
    "h": 297
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#461781
secondary
#81B53E
accent
#ED3B9E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461781

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

Preview Lab → · Contrast checker → · Palette generator →

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