#46166E#46166E

#46166E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.142 H 304.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#46166E
RGBrgb(70, 22, 110)
HSLhsl(273, 67%, 26%)
HSVhsv(273, 80%, 43%)
CMYKcmyk(36.4%, 80%, 0%, 56.9%)
CIE-LABlab(20.05, 39.48, -41.21)
CIE-LCHlch(20.05, 57.07, 313.77°)
OKLaboklab(32.86% 0.0799 -0.1174)
OKLCHoklch(32.86% 0.142 304.2)
XYZxyz(5.6265, 3.0017, 15.0318)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46166E #3E6E16
analogous
#1A166E #46166E #6E166A
triadic
#46166E #6E4616 #166E46
tetradic
#46166E #6E1A16 #3E6E16 #166A6E
square
#46166E #6E1A16 #3E6E16 #166A6E
split-complementary
#46166E #6A6E16 #166E1A
monochromatic
#10051A #260C3B #46166E #6620A1 #872AD4

Accessibility & contrast

On white

13.12
#46166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#46166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46166E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46166E#FFFFFF#000000##FFFFFF
##46166E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#3E2C41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46166e;
/* rgb */ color: rgb(70, 22, 110);
/* oklch */ color: oklch(32.9% 0.142 304.2);
Tailwind
colors: {
  custom: {
    50: '#7e5998',
    500: '#46166e',
    950: '#000000',
  },
}
SCSS
$custom: #46166e;
$custom-light: #7e5998;
$custom-dark: #000000;
JSON
{
  "hex": "#46166e",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 272.727,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.142,
    "h": 304.2
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#46166E
secondary
#6BA43C
accent
#EA3E8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46166E

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

Preview Lab → · Contrast checker → · Palette generator →

#46166E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva