#46186B#46186B

#46186B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.136 H 305.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#46186B
RGBrgb(70, 24, 107)
HSLhsl(273, 63%, 26%)
HSVhsv(273, 78%, 42%)
CMYKcmyk(34.6%, 77.6%, 0%, 58%)
CIE-LABlab(20.11, 37.81, -39.16)
CIE-LCHlch(20.11, 54.43, 313.99°)
OKLaboklab(32.82% 0.0786 -0.1114)
OKLCHoklch(32.82% 0.136 305.2)
XYZxyz(5.5057, 3.0169, 14.1993)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46186B #3D6B18
analogous
#1C186B #46186B #6B1866
triadic
#46186B #6B4618 #186B46
tetradic
#46186B #6B1C18 #3D6B18 #18666B
square
#46186B #6B1C18 #3D6B18 #18666B
split-complementary
#46186B #666B18 #186B1C
monochromatic
#100619 #250D39 #46186B #67239D #872ECF

Accessibility & contrast

On white

13.10
#46186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#46186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46186B
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46186B#FFFFFF#000000##FFFFFF
##46186B1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#3F2C40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #46186b;
/* rgb */ color: rgb(70, 24, 107);
/* oklch */ color: oklch(32.8% 0.136 305.2);
Tailwind
colors: {
  custom: {
    50: '#7e5a96',
    500: '#46186b',
    950: '#000000',
  },
}
SCSS
$custom: #46186b;
$custom-light: #7e5a96;
$custom-dark: #000000;
JSON
{
  "hex": "#46186b",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 273.253,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32824,
    "c": 0.13633,
    "h": 305.2
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#46186B
secondary
#6AA13E
accent
#E6418B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46186B

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

Preview Lab → · Contrast checker → · Palette generator →

#46186B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva