#461778#461778

#461778 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.152 H 300.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#461778
RGBrgb(70, 23, 120)
HSLhsl(269, 68%, 28%)
HSVhsv(269, 81%, 47%)
CMYKcmyk(41.7%, 80.8%, 0%, 52.9%)
CIE-LABlab(21.10, 41.60, -45.94)
CIE-LCHlch(21.10, 61.98, 312.16°)
OKLaboklab(33.87% 0.0762 -0.1313)
OKLCHoklch(33.87% 0.152 300.1)
XYZxyz(6.2215, 3.2709, 18.0692)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461778 #497817
analogous
#171978 #461778 #761778
triadic
#461778 #784617 #177846
tetradic
#461778 #781719 #497817 #177876
square
#461778 #781719 #497817 #177876
split-complementary
#461778 #787617 #197817
monochromatic
#0F051A #280D45 #461778 #6421AB #8232D8

Accessibility & contrast

On white

12.69
#461778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#461778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461778
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461778#FFFFFF#000000##FFFFFF
##4617781.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#3A3147
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #461778;
/* rgb */ color: rgb(70, 23, 120);
/* oklch */ color: oklch(33.9% 0.152 300.1);
Tailwind
colors: {
  custom: {
    50: '#7f5aa0',
    500: '#461778',
    950: '#000000',
  },
}
SCSS
$custom: #461778;
$custom-light: #7f5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#461778",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 269.072,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33873,
    "c": 0.15183,
    "h": 300.1
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#461778
secondary
#77AD3E
accent
#EB3D97
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #461778

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

Preview Lab → · Contrast checker → · Palette generator →

#461778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva