#461B78#461B78

#461B78 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.147 H 299.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#461B78
RGBrgb(70, 27, 120)
HSLhsl(268, 63%, 29%)
HSVhsv(268, 78%, 47%)
CMYKcmyk(41.7%, 77.5%, 0%, 52.9%)
CIE-LABlab(21.73, 39.78, -44.91)
CIE-LCHlch(21.73, 59.99, 311.54°)
OKLaboklab(34.32% 0.0725 -0.1283)
OKLCHoklch(34.32% 0.147 299.5)
XYZxyz(6.3070, 3.4419, 18.0977)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461B78 #4D781B
analogous
#1B1F78 #461B78 #751B78
triadic
#461B78 #78461B #1B7846
tetradic
#461B78 #781B1F #4D781B #1B7875
square
#461B78 #781B1F #4D781B #1B7875
split-complementary
#461B78 #78751B #1F781B
monochromatic
#0F0619 #291046 #461B78 #6326AA #813BD3

Accessibility & contrast

On white

12.44
#461B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#461B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461B78
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461B78#FFFFFF#000000##FFFFFF
##461B781.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#3A3348
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #461b78;
/* rgb */ color: rgb(70, 27, 120);
/* oklch */ color: oklch(34.3% 0.147 299.5);
Tailwind
colors: {
  custom: {
    50: '#7f5ca0',
    500: '#461b78',
    950: '#000000',
  },
}
SCSS
$custom: #461b78;
$custom-light: #7f5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#461b78",
  "rgb": {
    "r": 70,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 267.742,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34318,
    "c": 0.14737,
    "h": 299.5
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#461B78
secondary
#7BAC43
accent
#E6419A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #461B78

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

Preview Lab → · Contrast checker → · Palette generator →

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