#461B87#461B87

#461B87 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.164 H 294.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#461B87
RGBrgb(70, 27, 135)
HSLhsl(264, 67%, 32%)
HSVhsv(264, 80%, 53%)
CMYKcmyk(48.1%, 80%, 0%, 47.1%)
CIE-LABlab(23.12, 43.82, -52.14)
CIE-LCHlch(23.12, 68.11, 310.05°)
OKLaboklab(35.72% 0.0683 -0.1495)
OKLCHoklch(35.72% 0.164 294.5)
XYZxyz(7.2897, 3.8350, 23.2731)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461B87 #5C871B
analogous
#1B2687 #461B87 #7C1B87
triadic
#461B87 #87461B #1B8746
tetradic
#461B87 #871B26 #5C871B #1B877C
square
#461B87 #871B26 #5C871B #1B877C
split-complementary
#461B87 #877C1B #26871B
monochromatic
#110721 #2C1154 #461B87 #6025BA #7F43D9

Accessibility & contrast

On white

11.88
#461B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#461B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461B87
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461B87#FFFFFF#000000##FFFFFF
##461B871.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#333951
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #461b87;
/* rgb */ color: rgb(70, 27, 135);
/* oklch */ color: oklch(35.7% 0.164 294.5);
Tailwind
colors: {
  custom: {
    50: '#815dab',
    500: '#461b87',
    950: '#000000',
  },
}
SCSS
$custom: #461b87;
$custom-light: #815dab;
$custom-dark: #000000;
JSON
{
  "hex": "#461b87",
  "rgb": {
    "r": 70,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 263.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35715,
    "c": 0.16437,
    "h": 294.5
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#461B87
secondary
#8BBA44
accent
#EA3EA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #461B87

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

Preview Lab → · Contrast checker → · Palette generator →

#461B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva