#46186A#46186A

#46186A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.135 H 305.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#46186A
RGBrgb(70, 24, 106)
HSLhsl(274, 63%, 25%)
HSVhsv(274, 77%, 42%)
CMYKcmyk(34%, 77.4%, 0%, 58.4%)
CIE-LABlab(20.03, 37.55, -38.65)
CIE-LCHlch(20.03, 53.89, 314.18°)
OKLaboklab(32.74% 0.0788 -0.1099)
OKLCHoklch(32.74% 0.135 305.6)
XYZxyz(5.4534, 2.9960, 13.9239)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46186A #3C6A18
analogous
#1D186A #46186A #6A1865
triadic
#46186A #6A4618 #186A46
tetradic
#46186A #6A1D18 #3C6A18 #18656A
square
#46186A #6A1D18 #3C6A18 #18656A
split-complementary
#46186A #656A18 #186A1D
monochromatic
#100619 #250D38 #46186A #67239C #882FCE

Accessibility & contrast

On white

13.13
#46186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46186A
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46186A#FFFFFF#000000##FFFFFF
##46186A1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#3F2C3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46186a;
/* rgb */ color: rgb(70, 24, 106);
/* oklch */ color: oklch(32.7% 0.135 305.6);
Tailwind
colors: {
  custom: {
    50: '#7d5a95',
    500: '#46186a',
    950: '#000000',
  },
}
SCSS
$custom: #46186a;
$custom-light: #7d5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#46186a",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 273.659,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32739,
    "c": 0.13521,
    "h": 305.6
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#46186A
secondary
#69A03E
accent
#E6428A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46186A

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

Preview Lab → · Contrast checker → · Palette generator →

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