#461979#461979

#461979 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.151 H 299.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#461979
RGBrgb(70, 25, 121)
HSLhsl(268, 66%, 29%)
HSVhsv(268, 79%, 47%)
CMYKcmyk(42.1%, 79.3%, 0%, 52.5%)
CIE-LABlab(21.50, 40.98, -45.93)
CIE-LCHlch(21.50, 61.55, 311.74°)
OKLaboklab(34.18% 0.0741 -0.1313)
OKLCHoklch(34.18% 0.151 299.4)
XYZxyz(6.3237, 3.3778, 18.4043)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461979 #4C7919
analogous
#191C79 #461979 #761979
triadic
#461979 #794619 #197946
tetradic
#461979 #79191C #4C7919 #197976
square
#461979 #79191C #4C7919 #197976
split-complementary
#461979 #797619 #1C7919
monochromatic
#0F0519 #290F46 #461979 #6323AC #8137D6

Accessibility & contrast

On white

12.53
#461979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461979
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461979#FFFFFF#000000##FFFFFF
##4619791.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #461979;
/* rgb */ color: rgb(70, 25, 121);
/* oklch */ color: oklch(34.2% 0.151 299.4);
Tailwind
colors: {
  custom: {
    50: '#7f5ba1',
    500: '#461979',
    950: '#000000',
  },
}
SCSS
$custom: #461979;
$custom-light: #7f5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#461979",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 268.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.15078,
    "h": 299.4
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#461979
secondary
#7AAE40
accent
#E93F99
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461979

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

Preview Lab → · Contrast checker → · Palette generator →

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