#46186C#46186C

#46186C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.137 H 304.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#46186C
RGBrgb(70, 24, 108)
HSLhsl(273, 64%, 26%)
HSVhsv(273, 78%, 42%)
CMYKcmyk(35.2%, 77.8%, 0%, 57.6%)
CIE-LABlab(20.20, 38.06, -39.67)
CIE-LCHlch(20.20, 54.98, 313.81°)
OKLaboklab(32.91% 0.0784 -0.1129)
OKLCHoklch(32.91% 0.137 304.8)
XYZxyz(5.5586, 3.0381, 14.4780)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46186C #3E6C18
analogous
#1C186C #46186C #6C1868
triadic
#46186C #6C4618 #186C46
tetradic
#46186C #6C1C18 #3E6C18 #18686C
square
#46186C #6C1C18 #3E6C18 #18686C
split-complementary
#46186C #686C18 #186C1C
monochromatic
#100619 #260D3A #46186C #66239E #872ED0

Accessibility & contrast

On white

13.06
#46186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#46186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46186C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46186C#FFFFFF#000000##FFFFFF
##46186C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#3F2D41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #46186c;
/* rgb */ color: rgb(70, 24, 108);
/* oklch */ color: oklch(32.9% 0.137 304.8);
Tailwind
colors: {
  custom: {
    50: '#7e5a97',
    500: '#46186c',
    950: '#000000',
  },
}
SCSS
$custom: #46186c;
$custom-light: #7e5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#46186c",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 272.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3291,
    "c": 0.13744,
    "h": 304.8
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#46186C
secondary
#6BA23E
accent
#E7418C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46186C

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

Preview Lab → · Contrast checker → · Palette generator →

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