#46147B#46147B

#46147B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.158 H 299.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#46147B
RGBrgb(70, 20, 123)
HSLhsl(269, 72%, 28%)
HSVhsv(269, 84%, 48%)
CMYKcmyk(43.1%, 83.7%, 0%, 51.8%)
CIE-LABlab(20.95, 43.61, -48.10)
CIE-LCHlch(20.95, 64.93, 312.20°)
OKLaboklab(33.86% 0.0777 -0.1376)
OKLCHoklch(33.86% 0.158 299.5)
XYZxyz(6.3502, 3.2324, 19.0244)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46147B #497B14
analogous
#14167B #46147B #79147B
triadic
#46147B #7B4614 #147B46
tetradic
#46147B #7B1416 #497B14 #147B79
square
#46147B #7B1416 #497B14 #147B79
split-complementary
#46147B #7B7914 #167B14
monochromatic
#0F041A #280B46 #46147B #641DB0 #822DDD

Accessibility & contrast

On white

12.76
#46147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#46147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46147B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46147B#FFFFFF#000000##FFFFFF
##46147B1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46147b;
/* rgb */ color: rgb(70, 20, 123);
/* oklch */ color: oklch(33.9% 0.158 299.5);
Tailwind
colors: {
  custom: {
    50: '#8059a2',
    500: '#46147b',
    950: '#000000',
  },
}
SCSS
$custom: #46147b;
$custom-light: #8059a2;
$custom-dark: #000000;
JSON
{
  "hex": "#46147b",
  "rgb": {
    "r": 70,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 269.126,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33857,
    "c": 0.15805,
    "h": 299.5
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#46147B
secondary
#77B13A
accent
#EF3997
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46147B

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

Preview Lab → · Contrast checker → · Palette generator →

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