#461A7B#461A7B

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

Color values

HEX#461A7B
RGBrgb(70, 26, 123)
HSLhsl(267, 65%, 29%)
HSVhsv(267, 79%, 48%)
CMYKcmyk(43.1%, 78.9%, 0%, 51.8%)
CIE-LABlab(21.84, 41.05, -46.65)
CIE-LCHlch(21.84, 62.14, 311.35°)
OKLaboklab(34.48% 0.0726 -0.1334)
OKLCHoklch(34.48% 0.152 298.6)
XYZxyz(6.4694, 3.4708, 19.0641)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461A7B #4F7B1A
analogous
#1A1F7B #461A7B #771A7B
triadic
#461A7B #7B461A #1A7B46
tetradic
#461A7B #7B1A1F #4F7B1A #1A7B77
square
#461A7B #7B1A1F #4F7B1A #1A7B77
split-complementary
#461A7B #7B771A #1F7B1A
monochromatic
#0E0519 #290F48 #461A7B #6325AE #803AD5

Accessibility & contrast

On white

12.40
#461A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#461A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461A7B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461A7B#FFFFFF#000000##FFFFFF
##461A7B1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#39344A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #461a7b;
/* rgb */ color: rgb(70, 26, 123);
/* oklch */ color: oklch(34.5% 0.152 298.6);
Tailwind
colors: {
  custom: {
    50: '#7f5ca2',
    500: '#461a7b',
    950: '#000000',
  },
}
SCSS
$custom: #461a7b;
$custom-light: #7f5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#461a7b",
  "rgb": {
    "r": 70,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 267.216,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34476,
    "c": 0.15191,
    "h": 298.6
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#461A7B
secondary
#7DAF42
accent
#E8409C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #461A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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