#461986#461986

#461986 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.165 H 295.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#461986
RGBrgb(70, 25, 134)
HSLhsl(265, 69%, 31%)
HSVhsv(265, 81%, 53%)
CMYKcmyk(47.8%, 81.3%, 0%, 47.5%)
CIE-LABlab(22.72, 44.43, -52.17)
CIE-LCHlch(22.72, 68.52, 310.42°)
OKLaboklab(35.41% 0.0702 -0.1496)
OKLCHoklch(35.41% 0.165 295.1)
XYZxyz(7.1753, 3.7184, 22.8893)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461986 #598619
analogous
#192286 #461986 #7C1986
triadic
#461986 #864619 #198646
tetradic
#461986 #861922 #598619 #19867C
square
#461986 #861922 #598619 #19867C
split-complementary
#461986 #867C19 #228619
monochromatic
#10061F #2B0F52 #461986 #6123BA #7F3EDB

Accessibility & contrast

On white

12.04
#461986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#461986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461986
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461986#FFFFFF#000000##FFFFFF
##4619861.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#333850
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #461986;
/* rgb */ color: rgb(70, 25, 134);
/* oklch */ color: oklch(35.4% 0.165 295.1);
Tailwind
colors: {
  custom: {
    50: '#815caa',
    500: '#461986',
    950: '#000000',
  },
}
SCSS
$custom: #461986;
$custom-light: #815caa;
$custom-dark: #000000;
JSON
{
  "hex": "#461986",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 264.771,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35407,
    "c": 0.16524,
    "h": 295.1
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#461986
secondary
#88BA41
accent
#EB3CA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #461986

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

Preview Lab → · Contrast checker → · Palette generator →

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