#46319F#46319F

#46319F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.168 H 284.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#46319F
RGBrgb(70, 49, 159)
HSLhsl(251, 53%, 41%)
HSVhsv(251, 69%, 62%)
CMYKcmyk(56%, 69.2%, 0%, 37.6%)
CIE-LABlab(29.42, 39.34, -56.62)
CIE-LCHlch(29.42, 68.95, 304.79°)
OKLaboklab(40.85% 0.0433 -0.1628)
OKLCHoklch(40.85% 0.168 284.9)
XYZxyz(9.8802, 6.0014, 33.4319)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46319F #8A9F31
analogous
#31539F #46319F #7D319F
triadic
#46319F #9F4631 #319F46
tetradic
#46319F #9F3153 #8A9F31 #319F7D
square
#46319F #9F3153 #8A9F31 #319F7D
split-complementary
#46319F #9F7D31 #539F31
monochromatic
#1D1441 #312370 #46319F #5F47C6 #8876D5

Accessibility & contrast

On white

9.54
#46319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#46319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46319F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46319F#FFFFFF#000000##FFFFFF
##46319F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#1D4D64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #46319f;
/* rgb */ color: rgb(70, 49, 159);
/* oklch */ color: oklch(40.8% 0.168 284.9);
Tailwind
colors: {
  custom: {
    50: '#836bbc',
    500: '#46319f',
    950: '#000000',
  },
}
SCSS
$custom: #46319f;
$custom-light: #836bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#46319f",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 251.455,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.16847,
    "h": 284.9
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#46319F
secondary
#AEBD6F
accent
#DC4CC1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #46319F

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

Preview Lab → · Contrast checker → · Palette generator →

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