#461B7D#461B7D

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

Color values

HEX#461B7D
RGBrgb(70, 27, 125)
HSLhsl(266, 64%, 30%)
HSVhsv(266, 78%, 49%)
CMYKcmyk(44%, 78.4%, 0%, 51%)
CIE-LABlab(22.18, 41.12, -47.36)
CIE-LCHlch(22.18, 62.72, 310.97°)
OKLaboklab(34.77% 0.0712 -0.1355)
OKLCHoklch(34.77% 0.153 297.7)
XYZxyz(6.6184, 3.5665, 19.7378)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461B7D #527D1B
analogous
#1B217D #461B7D #771B7D
triadic
#461B7D #7D461B #1B7D46
tetradic
#461B7D #7D1B21 #527D1B #1B7D77
square
#461B7D #7D1B21 #527D1B #1B7D77
split-complementary
#461B7D #7D771B #217D1B
monochromatic
#0E0519 #2A104B #461B7D #6226AF #803DD5

Accessibility & contrast

On white

12.26
#461B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461B7D
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461B7D#FFFFFF#000000##FFFFFF
##461B7D1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#38354B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #461b7d;
/* rgb */ color: rgb(70, 27, 125);
/* oklch */ color: oklch(34.8% 0.153 297.7);
Tailwind
colors: {
  custom: {
    50: '#7f5ca3',
    500: '#461b7d',
    950: '#000000',
  },
}
SCSS
$custom: #461b7d;
$custom-light: #7f5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#461b7d",
  "rgb": {
    "r": 70,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 266.327,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34774,
    "c": 0.15307,
    "h": 297.7
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#461B7D
secondary
#81B143
accent
#E7409E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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