#461F7A#461F7A

#461F7A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.145 H 298.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#461F7A
RGBrgb(70, 31, 122)
HSLhsl(266, 59%, 30%)
HSVhsv(266, 75%, 48%)
CMYKcmyk(42.6%, 74.6%, 0%, 52.2%)
CIE-LABlab(22.61, 38.34, -44.75)
CIE-LCHlch(22.61, 58.93, 310.59°)
OKLaboklab(34.99% 0.068 -0.1279)
OKLCHoklch(34.99% 0.145 298)
XYZxyz(6.5277, 3.6871, 18.7763)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461F7A #537A1F
analogous
#1F267A #461F7A #731F7A
triadic
#461F7A #7A461F #1F7A46
tetradic
#461F7A #7A1F26 #537A1F #1F7A73
square
#461F7A #7A1F26 #537A1F #1F7A73
split-complementary
#461F7A #7A731F #267A1F
monochromatic
#0E0618 #2A1349 #461F7A #622BAB #8044CF

Accessibility & contrast

On white

12.09
#461F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#461F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461F7A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461F7A#FFFFFF#000000##FFFFFF
##461F7A1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#39364A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #461f7a;
/* rgb */ color: rgb(70, 31, 122);
/* oklch */ color: oklch(35.0% 0.145 298.0);
Tailwind
colors: {
  custom: {
    50: '#7f5ea1',
    500: '#461f7a',
    950: '#000000',
  },
}
SCSS
$custom: #461f7a;
$custom-light: #7f5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#461f7a",
  "rgb": {
    "r": 70,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 265.714,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.34991,
    "c": 0.14485,
    "h": 298
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#461F7A
secondary
#82AD47
accent
#E3459F
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #461F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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