#46319D#46319D

#46319D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.166 H 285.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#46319D
RGBrgb(70, 49, 157)
HSLhsl(252, 52%, 40%)
HSVhsv(252, 69%, 62%)
CMYKcmyk(55.4%, 68.8%, 0%, 38.4%)
CIE-LABlab(29.24, 38.72, -55.69)
CIE-LCHlch(29.24, 67.83, 304.81°)
OKLaboklab(40.67% 0.0436 -0.1601)
OKLCHoklch(40.67% 0.166 285.2)
XYZxyz(9.7081, 5.9325, 32.5253)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46319D #889D31
analogous
#31529D #46319D #7C319D
triadic
#46319D #9D4631 #319D46
tetradic
#46319D #9D3152 #889D31 #319D7C
square
#46319D #9D3152 #889D31 #319D7C
split-complementary
#46319D #9D7C31 #529D31
monochromatic
#1C1440 #31226E #46319D #5F46C5 #8775D4

Accessibility & contrast

On white

9.60
#46319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#46319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46319D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46319D#FFFFFF#000000##FFFFFF
##46319D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#204D63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #46319d;
/* rgb */ color: rgb(70, 49, 157);
/* oklch */ color: oklch(40.7% 0.166 285.2);
Tailwind
colors: {
  custom: {
    50: '#826bbb',
    500: '#46319d',
    950: '#000000',
  },
}
SCSS
$custom: #46319d;
$custom-light: #826bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#46319d",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 251.667,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.16592,
    "h": 285.2
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#46319D
secondary
#ADBC6E
accent
#DC4CC0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #46319D

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

Preview Lab → · Contrast checker → · Palette generator →

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