#461987#461987

#461987 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.166 H 294.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#461987
RGBrgb(70, 25, 135)
HSLhsl(265, 69%, 31%)
HSVhsv(265, 81%, 53%)
CMYKcmyk(48.1%, 81.5%, 0%, 47.1%)
CIE-LABlab(22.81, 44.70, -52.63)
CIE-LCHlch(22.81, 69.05, 310.34°)
OKLaboklab(35.5% 0.0698 -0.151)
OKLCHoklch(35.5% 0.166 294.8)
XYZxyz(7.2454, 3.7464, 23.2584)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461987 #5A8719
analogous
#192387 #461987 #7D1987
triadic
#461987 #874619 #198746
tetradic
#461987 #871923 #5A8719 #19877D
square
#461987 #871923 #5A8719 #19877D
split-complementary
#461987 #877D19 #238719
monochromatic
#100620 #2B0F53 #461987 #6123BB #7F3FDB

Accessibility & contrast

On white

12.00
#461987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#461987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461987
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461987#FFFFFF#000000##FFFFFF
##4619871.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#333850
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #461987;
/* rgb */ color: rgb(70, 25, 135);
/* oklch */ color: oklch(35.5% 0.166 294.8);
Tailwind
colors: {
  custom: {
    50: '#815cab',
    500: '#461987',
    950: '#000000',
  },
}
SCSS
$custom: #461987;
$custom-light: #815cab;
$custom-dark: #000000;
JSON
{
  "hex": "#461987",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 264.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35504,
    "c": 0.16634,
    "h": 294.8
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#461987
secondary
#89BA41
accent
#EC3CA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #461987

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

Preview Lab → · Contrast checker → · Palette generator →

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