#461B79#461B79

#461B79 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.149 H 299.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#461B79
RGBrgb(70, 27, 121)
HSLhsl(267, 64%, 29%)
HSVhsv(267, 78%, 47%)
CMYKcmyk(42.1%, 77.7%, 0%, 52.5%)
CIE-LABlab(21.82, 40.05, -45.40)
CIE-LCHlch(21.82, 60.54, 311.42°)
OKLaboklab(34.41% 0.0722 -0.1298)
OKLCHoklch(34.41% 0.149 299.1)
XYZxyz(6.3680, 3.4663, 18.4190)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461B79 #4E791B
analogous
#1B1F79 #461B79 #751B79
triadic
#461B79 #79461B #1B7946
tetradic
#461B79 #791B1F #4E791B #1B7975
square
#461B79 #791B1F #4E791B #1B7975
split-complementary
#461B79 #79751B #1F791B
monochromatic
#0E0619 #291047 #461B79 #6326AB #813BD3

Accessibility & contrast

On white

12.40
#461B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461B79
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461B79#FFFFFF#000000##FFFFFF
##461B791.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#3A3349
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #461b79;
/* rgb */ color: rgb(70, 27, 121);
/* oklch */ color: oklch(34.4% 0.149 299.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ca0',
    500: '#461b79',
    950: '#000000',
  },
}
SCSS
$custom: #461b79;
$custom-light: #7f5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#461b79",
  "rgb": {
    "r": 70,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 267.447,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.14851,
    "h": 299.1
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#461B79
secondary
#7CAD43
accent
#E7419B
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461B79

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

Preview Lab → · Contrast checker → · Palette generator →

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