#461874#461874

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

Color values

HEX#461874
RGBrgb(70, 24, 116)
HSLhsl(270, 66%, 27%)
HSVhsv(270, 79%, 45%)
CMYKcmyk(39.7%, 79.3%, 0%, 54.5%)
CIE-LABlab(20.89, 40.12, -43.72)
CIE-LCHlch(20.89, 59.34, 312.54°)
OKLaboklab(33.62% 0.0764 -0.1248)
OKLCHoklch(33.62% 0.146 301.5)
XYZxyz(6.0040, 3.2163, 16.8241)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461874 #467418
analogous
#181874 #461874 #741874
triadic
#461874 #744618 #187446
tetradic
#461874 #741818 #467418 #187474
square
#461874 #741818 #467418 #187474
split-complementary
#461874 #747418 #187418
monochromatic
#0F0519 #270E41 #461874 #6522A7 #8332D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##461874#FFFFFF#000000##FFFFFF
##4618741.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)
#003277
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#3C3045
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #461874;
/* rgb */ color: rgb(70, 24, 116);
/* oklch */ color: oklch(33.6% 0.146 301.5);
Tailwind
colors: {
  custom: {
    50: '#7e5a9d',
    500: '#461874',
    950: '#000000',
  },
}
SCSS
$custom: #461874;
$custom-light: #7e5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#461874",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 270,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33615,
    "c": 0.14633,
    "h": 301.5
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#461874
secondary
#74A93F
accent
#E93F94
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #461874

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

Preview Lab → · Contrast checker → · Palette generator →

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