#46147E#46147E

#46147E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.161 H 298.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#46147E
RGBrgb(70, 20, 126)
HSLhsl(268, 73%, 29%)
HSVhsv(268, 84%, 49%)
CMYKcmyk(44.4%, 84.1%, 0%, 50.6%)
CIE-LABlab(21.24, 44.38, -49.54)
CIE-LCHlch(21.24, 66.51, 311.86°)
OKLaboklab(34.14% 0.0767 -0.1418)
OKLCHoklch(34.14% 0.161 298.4)
XYZxyz(6.5409, 3.3087, 20.0286)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46147E #4C7E14
analogous
#14177E #46147E #7B147E
triadic
#46147E #7E4614 #147E46
tetradic
#46147E #7E1417 #4C7E14 #147E7B
square
#46147E #7E1417 #4C7E14 #147E7B
split-complementary
#46147E #7E7B14 #177E14
monochromatic
#0F041A #290C49 #46147E #631CB3 #812EDE

Accessibility & contrast

On white

12.64
#46147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#46147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46147E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46147E#FFFFFF#000000##FFFFFF
##46147E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#38334A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46147e;
/* rgb */ color: rgb(70, 20, 126);
/* oklch */ color: oklch(34.1% 0.161 298.4);
Tailwind
colors: {
  custom: {
    50: '#8059a4',
    500: '#46147e',
    950: '#000000',
  },
}
SCSS
$custom: #46147e;
$custom-light: #8059a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46147e",
  "rgb": {
    "r": 70,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 268.302,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.16125,
    "h": 298.4
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#46147E
secondary
#7AB33A
accent
#EF3899
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46147E

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

Preview Lab → · Contrast checker → · Palette generator →

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