#46316C#46316C

#46316C is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.8% C 0.099 H 297.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#46316C
RGBrgb(70, 49, 108)
HSLhsl(261, 38%, 31%)
HSVhsv(261, 55%, 42%)
CMYKcmyk(35.2%, 54.6%, 0%, 57.6%)
CIE-LABlab(25.51, 23.76, -31.12)
CIE-LCHlch(25.51, 39.15, 307.37°)
OKLaboklab(36.77% 0.0462 -0.0879)
OKLCHoklch(36.77% 0.099 297.7)
XYZxyz(6.3302, 4.5814, 14.7352)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46316C #576C31
analogous
#31396C #46316C #63316C
triadic
#46316C #6C4631 #316C46
tetradic
#46316C #6C3139 #576C31 #316C63
square
#46316C #6C3139 #576C31 #316C63
split-complementary
#46316C #6C6331 #396C31
monochromatic
#0F0B18 #2B1E42 #46316C #614496 #7F60B7

Accessibility & contrast

On white

10.96
#46316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#46316C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46316C
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46316C#FFFFFF#000000##FFFFFF
##46316C1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#203C6B
Tritanopia (blue-blind)
#3E3C49
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #46316c;
/* rgb */ color: rgb(70, 49, 108);
/* oklch */ color: oklch(36.8% 0.099 297.7);
Tailwind
colors: {
  custom: {
    50: '#7c6996',
    500: '#46316c',
    950: '#000000',
  },
}
SCSS
$custom: #46316c;
$custom-light: #7c6996;
$custom-dark: #000000;
JSON
{
  "hex": "#46316c",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 261.356,
    "s": 37.58,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.0993,
    "h": 297.7
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#46316C
secondary
#869D5C
accent
#CE5AA5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #46316C

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

Preview Lab → · Contrast checker → · Palette generator →

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