#461581#461581

#461581 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.164 H 297.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#461581
RGBrgb(70, 21, 129)
HSLhsl(267, 72%, 29%)
HSVhsv(267, 84%, 51%)
CMYKcmyk(45.7%, 83.7%, 0%, 49.4%)
CIE-LABlab(21.67, 44.76, -50.74)
CIE-LCHlch(21.67, 67.66, 311.42°)
OKLaboklab(34.53% 0.0749 -0.1454)
OKLCHoklch(34.53% 0.164 297.3)
XYZxyz(6.7554, 3.4233, 21.0695)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461581 #508115
analogous
#151A81 #461581 #7C1581
triadic
#461581 #814615 #158146
tetradic
#461581 #81151A #508115 #15817C
square
#461581 #81151A #508115 #15817C
split-complementary
#461581 #817C15 #1A8115
monochromatic
#0E041A #290C4C #461581 #631EB6 #8033DE

Accessibility & contrast

On white

12.47
#461581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#461581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461581
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461581#FFFFFF#000000##FFFFFF
##4615811.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#36344C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #461581;
/* rgb */ color: rgb(70, 21, 129);
/* oklch */ color: oklch(34.5% 0.164 297.3);
Tailwind
colors: {
  custom: {
    50: '#805aa7',
    500: '#461581',
    950: '#000000',
  },
}
SCSS
$custom: #461581;
$custom-light: #805aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#461581",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 267.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34528,
    "c": 0.16354,
    "h": 297.3
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#461581
secondary
#7FB63C
accent
#EF399C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461581

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

Preview Lab → · Contrast checker → · Palette generator →

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