#46319B#46319B

#46319B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.163 H 285.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#46319B
RGBrgb(70, 49, 155)
HSLhsl(252, 52%, 40%)
HSVhsv(252, 68%, 61%)
CMYKcmyk(54.8%, 68.4%, 0%, 39.2%)
CIE-LABlab(29.07, 38.09, -54.76)
CIE-LCHlch(29.07, 66.70, 304.83°)
OKLaboklab(40.49% 0.0439 -0.1573)
OKLCHoklch(40.49% 0.163 285.6)
XYZxyz(9.5387, 5.8648, 31.6334)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46319B #869B31
analogous
#31519B #46319B #7B319B
triadic
#46319B #9B4631 #319B46
tetradic
#46319B #9B3151 #869B31 #319B7B
square
#46319B #9B3151 #869B31 #319B7B
split-complementary
#46319B #9B7B31 #519B31
monochromatic
#1C143E #31226D #46319B #5E45C4 #8673D3

Accessibility & contrast

On white

9.66
#46319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#46319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46319B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46319B#FFFFFF#000000##FFFFFF
##46319B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#224C62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #46319b;
/* rgb */ color: rgb(70, 49, 155);
/* oklch */ color: oklch(40.5% 0.163 285.6);
Tailwind
colors: {
  custom: {
    50: '#826bb9',
    500: '#46319b',
    950: '#000000',
  },
}
SCSS
$custom: #46319b;
$custom-light: #826bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#46319b",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 251.887,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.16336,
    "h": 285.6
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#46319B
secondary
#ABBB6D
accent
#DB4CBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #46319B

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

Preview Lab → · Contrast checker → · Palette generator →

#46319B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva