#461B7C#461B7C

#461B7C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.152 H 298.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#461B7C
RGBrgb(70, 27, 124)
HSLhsl(267, 64%, 30%)
HSVhsv(267, 78%, 49%)
CMYKcmyk(43.5%, 78.2%, 0%, 51.4%)
CIE-LABlab(22.09, 40.85, -46.87)
CIE-LCHlch(22.09, 62.18, 311.08°)
OKLaboklab(34.68% 0.0715 -0.1341)
OKLCHoklch(34.68% 0.152 298.1)
XYZxyz(6.5549, 3.5411, 19.4030)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461B7C #517C1B
analogous
#1B217C #461B7C #771B7C
triadic
#461B7C #7C461B #1B7C46
tetradic
#461B7C #7C1B21 #517C1B #1B7C77
square
#461B7C #7C1B21 #517C1B #1B7C77
split-complementary
#461B7C #7C771B #217C1B
monochromatic
#0E0519 #2A104A #461B7C #6226AE #803DD5

Accessibility & contrast

On white

12.29
#461B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461B7C
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461B7C#FFFFFF#000000##FFFFFF
##461B7C1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#38354A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #461b7c;
/* rgb */ color: rgb(70, 27, 124);
/* oklch */ color: oklch(34.7% 0.152 298.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ca3',
    500: '#461b7c',
    950: '#000000',
  },
}
SCSS
$custom: #461b7c;
$custom-light: #7f5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#461b7c",
  "rgb": {
    "r": 70,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 266.598,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.15193,
    "h": 298.1
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#461B7C
secondary
#80B043
accent
#E7419D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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