#46186E#46186E

#46186E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.140 H 303.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#46186E
RGBrgb(70, 24, 110)
HSLhsl(272, 64%, 26%)
HSVhsv(272, 78%, 43%)
CMYKcmyk(36.4%, 78.2%, 0%, 56.9%)
CIE-LABlab(20.37, 38.57, -40.70)
CIE-LCHlch(20.37, 56.07, 313.47°)
OKLaboklab(33.08% 0.0779 -0.1159)
OKLCHoklch(33.08% 0.14 303.9)
XYZxyz(5.6662, 3.0812, 15.0450)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46186E #406E18
analogous
#1B186E #46186E #6E186B
triadic
#46186E #6E4618 #186E46
tetradic
#46186E #6E1B18 #406E18 #186B6E
square
#46186E #6E1B18 #406E18 #186B6E
split-complementary
#46186E #6B6E18 #186E1B
monochromatic
#100519 #260D3C #46186E #6623A0 #862FD2

Accessibility & contrast

On white

12.99
#46186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46186E
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46186E#FFFFFF#000000##FFFFFF
##46186E1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#3E2D42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #46186e;
/* rgb */ color: rgb(70, 24, 110);
/* oklch */ color: oklch(33.1% 0.140 303.9);
Tailwind
colors: {
  custom: {
    50: '#7e5a98',
    500: '#46186e',
    950: '#000000',
  },
}
SCSS
$custom: #46186e;
$custom-light: #7e5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#46186e",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 272.093,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33084,
    "c": 0.13966,
    "h": 303.9
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#46186E
secondary
#6DA43E
accent
#E7418E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46186E

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

Preview Lab → · Contrast checker → · Palette generator →

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