#461B71#461B71

#461B71 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.139 H 302.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#461B71
RGBrgb(70, 27, 113)
HSLhsl(270, 61%, 27%)
HSVhsv(270, 76%, 44%)
CMYKcmyk(38.1%, 76.1%, 0%, 55.7%)
CIE-LABlab(21.13, 37.92, -41.40)
CIE-LCHlch(21.13, 56.15, 312.49°)
OKLaboklab(33.7% 0.0741 -0.118)
OKLCHoklch(33.7% 0.139 302.1)
XYZxyz(5.8976, 3.2782, 15.9416)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461B71 #46711B
analogous
#1B1B71 #461B71 #711B71
triadic
#461B71 #71461B #1B7146
tetradic
#461B71 #711B1B #46711B #1B7171
square
#461B71 #711B1B #46711B #1B7171
split-complementary
#461B71 #71711B #1B711B
monochromatic
#0F0619 #270F40 #461B71 #6527A2 #8337CF

Accessibility & contrast

On white

12.68
#461B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#461B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461B71
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461B71#FFFFFF#000000##FFFFFF
##461B711.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#3D3044
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #461b71;
/* rgb */ color: rgb(70, 27, 113);
/* oklch */ color: oklch(33.7% 0.139 302.1);
Tailwind
colors: {
  custom: {
    50: '#7e5c9a',
    500: '#461b71',
    950: '#000000',
  },
}
SCSS
$custom: #461b71;
$custom-light: #7e5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#461b71",
  "rgb": {
    "r": 70,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 270,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.337,
    "c": 0.13937,
    "h": 302.1
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#461B71
secondary
#74A642
accent
#E54394
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #461B71

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

Preview Lab → · Contrast checker → · Palette generator →

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