#461879#461879

#461879 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.152 H 299.6°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#461879
RGBrgb(70, 24, 121)
HSLhsl(268, 67%, 28%)
HSVhsv(268, 80%, 47%)
CMYKcmyk(42.1%, 80.2%, 0%, 52.5%)
CIE-LABlab(21.34, 41.42, -46.19)
CIE-LCHlch(21.34, 62.04, 311.89°)
OKLaboklab(34.07% 0.075 -0.132)
OKLCHoklch(34.07% 0.152 299.6)
XYZxyz(6.3027, 3.3358, 18.3973)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461879 #4B7918
analogous
#181A79 #461879 #761879
triadic
#461879 #794618 #187946
tetradic
#461879 #79181A #4B7918 #187976
square
#461879 #79181A #4B7918 #187976
split-complementary
#461879 #797618 #1A7918
monochromatic
#0F051A #280E46 #461879 #6422AC #8235D7

Accessibility & contrast

On white

12.60
#461879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#461879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461879
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461879#FFFFFF#000000##FFFFFF
##4618791.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#3A3248
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #461879;
/* rgb */ color: rgb(70, 24, 121);
/* oklch */ color: oklch(34.1% 0.152 299.6);
Tailwind
colors: {
  custom: {
    50: '#7f5ba1',
    500: '#461879',
    950: '#000000',
  },
}
SCSS
$custom: #461879;
$custom-light: #7f5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#461879",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 268.454,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34071,
    "c": 0.15187,
    "h": 299.6
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#461879
secondary
#79AE3F
accent
#EA3E98
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461879

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

Preview Lab → · Contrast checker → · Palette generator →

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