#461579#461579

#461579 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.155 H 300.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#461579
RGBrgb(70, 21, 121)
HSLhsl(269, 70%, 28%)
HSVhsv(269, 83%, 47%)
CMYKcmyk(42.1%, 82.6%, 0%, 52.5%)
CIE-LABlab(20.90, 42.70, -46.91)
CIE-LCHlch(20.90, 63.43, 312.31°)
OKLaboklab(33.76% 0.0776 -0.1341)
OKLCHoklch(33.76% 0.155 300)
XYZxyz(6.2443, 3.2188, 18.3778)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461579 #487915
analogous
#151679 #461579 #781579
triadic
#461579 #794615 #157946
tetradic
#461579 #791516 #487915 #157978
square
#461579 #791516 #487915 #157978
split-complementary
#461579 #797815 #167915
monochromatic
#0F051A #280C45 #461579 #641EAD #822EDB

Accessibility & contrast

On white

12.78
#461579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#461579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461579
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461579#FFFFFF#000000##FFFFFF
##4615791.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#3A3147
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #461579;
/* rgb */ color: rgb(70, 21, 121);
/* oklch */ color: oklch(33.8% 0.155 300.0);
Tailwind
colors: {
  custom: {
    50: '#7f59a1',
    500: '#461579',
    950: '#000000',
  },
}
SCSS
$custom: #461579;
$custom-light: #7f59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#461579",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 269.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.15495,
    "h": 300
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#461579
secondary
#76AF3B
accent
#ED3B96
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461579

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

Preview Lab → · Contrast checker → · Palette generator →

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