#461F7F#461F7F

#461F7F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.151 H 296.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#461F7F
RGBrgb(70, 31, 127)
HSLhsl(264, 61%, 31%)
HSVhsv(264, 76%, 50%)
CMYKcmyk(44.9%, 75.6%, 0%, 50.2%)
CIE-LABlab(23.05, 39.72, -47.21)
CIE-LCHlch(23.05, 61.70, 310.08°)
OKLaboklab(35.44% 0.0669 -0.1351)
OKLCHoklch(35.44% 0.151 296.3)
XYZxyz(6.8455, 3.8142, 20.4501)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461F7F #587F1F
analogous
#1F287F #461F7F #761F7F
triadic
#461F7F #7F461F #1F7F46
tetradic
#461F7F #7F1F28 #587F1F #1F7F76
square
#461F7F #7F1F28 #587F1F #1F7F76
split-complementary
#461F7F #7F761F #287F1F
monochromatic
#10071D #2B134E #461F7F #612BB0 #7F46D2

Accessibility & contrast

On white

11.91
#461F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#461F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461F7F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461F7F#FFFFFF#000000##FFFFFF
##461F7F1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#37384D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #461f7f;
/* rgb */ color: rgb(70, 31, 127);
/* oklch */ color: oklch(35.4% 0.151 296.3);
Tailwind
colors: {
  custom: {
    50: '#7f5fa5',
    500: '#461f7f',
    950: '#000000',
  },
}
SCSS
$custom: #461f7f;
$custom-light: #7f5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#461f7f",
  "rgb": {
    "r": 70,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 264.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35438,
    "c": 0.15076,
    "h": 296.3
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#461F7F
secondary
#87B248
accent
#E444A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #461F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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