#46156F#46156F

#46156F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.144 H 304.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#46156F
RGBrgb(70, 21, 111)
HSLhsl(273, 68%, 26%)
HSVhsv(273, 81%, 44%)
CMYKcmyk(36.9%, 81.1%, 0%, 56.5%)
CIE-LABlab(19.99, 40.16, -41.96)
CIE-LCHlch(19.99, 58.08, 313.74°)
OKLaboklab(32.85% 0.0805 -0.1196)
OKLCHoklch(32.85% 0.144 304)
XYZxyz(5.6625, 2.9861, 15.3139)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46156F #3E6F15
analogous
#19156F #46156F #6F156B
triadic
#46156F #6F4615 #156F46
tetradic
#46156F #6F1915 #3E6F15 #156B6F
square
#46156F #6F1915 #3E6F15 #156B6F
split-complementary
#46156F #6B6F15 #156F19
monochromatic
#10051A #260B3C #46156F #661FA2 #8728D6

Accessibility & contrast

On white

13.15
#46156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#46156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46156F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46156F#FFFFFF#000000##FFFFFF
##46156F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#3E2C42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46156f;
/* rgb */ color: rgb(70, 21, 111);
/* oklch */ color: oklch(32.8% 0.144 304.0);
Tailwind
colors: {
  custom: {
    50: '#7e5999',
    500: '#46156f',
    950: '#000000',
  },
}
SCSS
$custom: #46156f;
$custom-light: #7e5999;
$custom-dark: #000000;
JSON
{
  "hex": "#46156f",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 272.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.1442,
    "h": 304
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#46156F
secondary
#6BA53A
accent
#EB3D8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46156F

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

Preview Lab → · Contrast checker → · Palette generator →

#46156F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva