#46319E#46319E

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

Color values

HEX#46319E
RGBrgb(70, 49, 158)
HSLhsl(252, 53%, 41%)
HSVhsv(252, 69%, 62%)
CMYKcmyk(55.7%, 69%, 0%, 38%)
CIE-LABlab(29.33, 39.03, -56.16)
CIE-LCHlch(29.33, 68.39, 304.80°)
OKLaboklab(40.76% 0.0435 -0.1614)
OKLCHoklch(40.76% 0.167 285.1)
XYZxyz(9.7938, 5.9668, 32.9768)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46319E #899E31
analogous
#31529E #46319E #7C319E
triadic
#46319E #9E4631 #319E46
tetradic
#46319E #9E3152 #899E31 #319E7C
square
#46319E #9E3152 #899E31 #319E7C
split-complementary
#46319E #9E7C31 #529E31
monochromatic
#1D1441 #31236F #46319E #5F46C6 #8775D4

Accessibility & contrast

On white

9.57
#46319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46319E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46319E#FFFFFF#000000##FFFFFF
##46319E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#1F4D63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #46319e;
/* rgb */ color: rgb(70, 49, 158);
/* oklch */ color: oklch(40.8% 0.167 285.1);
Tailwind
colors: {
  custom: {
    50: '#836bbc',
    500: '#46319e',
    950: '#000000',
  },
}
SCSS
$custom: #46319e;
$custom-light: #836bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#46319e",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 251.56,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.1672,
    "h": 285.1
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #46319E

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

Preview Lab → · Contrast checker → · Palette generator →

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