#461A7F#461A7F

#461A7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.156 H 297.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#461A7F
RGBrgb(70, 26, 127)
HSLhsl(266, 66%, 30%)
HSVhsv(266, 80%, 50%)
CMYKcmyk(44.9%, 79.5%, 0%, 50.2%)
CIE-LABlab(22.21, 42.12, -48.59)
CIE-LCHlch(22.21, 64.30, 310.92°)
OKLaboklab(34.85% 0.0715 -0.1391)
OKLCHoklch(34.85% 0.156 297.2)
XYZxyz(6.7249, 3.5731, 20.4099)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461A7F #537F1A
analogous
#1A207F #461A7F #791A7F
triadic
#461A7F #7F461A #1A7F46
tetradic
#461A7F #7F1A20 #537F1A #1A7F79
square
#461A7F #7F1A20 #537F1A #1A7F79
split-complementary
#461A7F #7F791A #207F1A
monochromatic
#0E0519 #2A104C #461A7F #6224B2 #803CD7

Accessibility & contrast

On white

12.25
#461A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#461A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461A7F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461A7F#FFFFFF#000000##FFFFFF
##461A7F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#37354C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #461a7f;
/* rgb */ color: rgb(70, 26, 127);
/* oklch */ color: oklch(34.8% 0.156 297.2);
Tailwind
colors: {
  custom: {
    50: '#805ca5',
    500: '#461a7f',
    950: '#000000',
  },
}
SCSS
$custom: #461a7f;
$custom-light: #805ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#461a7f",
  "rgb": {
    "r": 70,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 266.139,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.34847,
    "c": 0.15641,
    "h": 297.2
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#461A7F
secondary
#82B342
accent
#E93F9F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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