#46147C#46147C

#46147C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.159 H 299.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#46147C
RGBrgb(70, 20, 124)
HSLhsl(269, 72%, 28%)
HSVhsv(269, 84%, 49%)
CMYKcmyk(43.5%, 83.9%, 0%, 51.4%)
CIE-LABlab(21.05, 43.87, -48.58)
CIE-LCHlch(21.05, 65.46, 312.08°)
OKLaboklab(33.95% 0.0774 -0.139)
OKLCHoklch(33.95% 0.159 299.1)
XYZxyz(6.4131, 3.2575, 19.3558)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46147C #4A7C14
analogous
#14167C #46147C #7A147C
triadic
#46147C #7C4614 #147C46
tetradic
#46147C #7C1416 #4A7C14 #147C7A
square
#46147C #7C1416 #4A7C14 #147C7A
split-complementary
#46147C #7C7A14 #167C14
monochromatic
#0F041A #280B47 #46147C #641DB1 #822DDD

Accessibility & contrast

On white

12.71
#46147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46147C
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46147C#FFFFFF#000000##FFFFFF
##46147C1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#393249
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46147c;
/* rgb */ color: rgb(70, 20, 124);
/* oklch */ color: oklch(34.0% 0.159 299.1);
Tailwind
colors: {
  custom: {
    50: '#8059a3',
    500: '#46147c',
    950: '#000000',
  },
}
SCSS
$custom: #46147c;
$custom-light: #8059a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46147c",
  "rgb": {
    "r": 70,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 268.846,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33953,
    "c": 0.15912,
    "h": 299.1
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#46147C
secondary
#78B23A
accent
#EF3997
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46147C

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

Preview Lab → · Contrast checker → · Palette generator →

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