#46147A#46147A

#46147A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.157 H 299.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#46147A
RGBrgb(70, 20, 122)
HSLhsl(269, 72%, 28%)
HSVhsv(269, 84%, 48%)
CMYKcmyk(42.6%, 83.6%, 0%, 52.2%)
CIE-LABlab(20.86, 43.36, -47.62)
CIE-LCHlch(20.86, 64.40, 312.32°)
OKLaboklab(33.76% 0.078 -0.1362)
OKLCHoklch(33.76% 0.157 299.8)
XYZxyz(6.2879, 3.2075, 18.6964)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46147A #487A14
analogous
#14157A #46147A #79147A
triadic
#46147A #7A4614 #147A46
tetradic
#46147A #7A1415 #487A14 #147A79
square
#46147A #7A1415 #487A14 #147A79
split-complementary
#46147A #7A7914 #157A14
monochromatic
#0F041A #280B45 #46147A #641DAF #822CDC

Accessibility & contrast

On white

12.79
#46147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#46147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46147A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46147A#FFFFFF#000000##FFFFFF
##46147A1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#393148
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #46147a;
/* rgb */ color: rgb(70, 20, 122);
/* oklch */ color: oklch(33.8% 0.157 299.8);
Tailwind
colors: {
  custom: {
    50: '#7f59a1',
    500: '#46147a',
    950: '#000000',
  },
}
SCSS
$custom: #46147a;
$custom-light: #7f59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46147a",
  "rgb": {
    "r": 70,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 269.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33762,
    "c": 0.15699,
    "h": 299.8
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#46147A
secondary
#76B03A
accent
#EF3996
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46147A

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

Preview Lab → · Contrast checker → · Palette generator →

#46147A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva