#46186F#46186F

#46186F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.141 H 303.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#46186F
RGBrgb(70, 24, 111)
HSLhsl(272, 64%, 26%)
HSVhsv(272, 78%, 44%)
CMYKcmyk(36.9%, 78.4%, 0%, 56.5%)
CIE-LABlab(20.45, 38.83, -41.20)
CIE-LCHlch(20.45, 56.62, 313.30°)
OKLaboklab(33.17% 0.0777 -0.1174)
OKLCHoklch(33.17% 0.141 303.5)
XYZxyz(5.7210, 3.1031, 15.3334)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46186F #416F18
analogous
#1B186F #46186F #6F186D
triadic
#46186F #6F4618 #186F46
tetradic
#46186F #6F1B18 #416F18 #186D6F
square
#46186F #6F1B18 #416F18 #186D6F
split-complementary
#46186F #6D6F18 #186F1B
monochromatic
#100519 #260D3D #46186F #6623A1 #852FD2

Accessibility & contrast

On white

12.96
#46186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#46186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46186F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46186F#FFFFFF#000000##FFFFFF
##46186F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3E2E42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #46186f;
/* rgb */ color: rgb(70, 24, 111);
/* oklch */ color: oklch(33.2% 0.141 303.5);
Tailwind
colors: {
  custom: {
    50: '#7e5a99',
    500: '#46186f',
    950: '#000000',
  },
}
SCSS
$custom: #46186f;
$custom-light: #7e5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#46186f",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 271.724,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33171,
    "c": 0.14078,
    "h": 303.5
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#46186F
secondary
#6EA53E
accent
#E7408F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46186F

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

Preview Lab → · Contrast checker → · Palette generator →

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