#46147F#46147F

#46147F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.162 H 298.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#46147F
RGBrgb(70, 20, 127)
HSLhsl(268, 73%, 29%)
HSVhsv(268, 84%, 50%)
CMYKcmyk(44.9%, 84.3%, 0%, 50.2%)
CIE-LABlab(21.34, 44.64, -50.01)
CIE-LCHlch(21.34, 67.03, 311.75°)
OKLaboklab(34.24% 0.0763 -0.1432)
OKLCHoklch(34.24% 0.162 298.1)
XYZxyz(6.6057, 3.3346, 20.3702)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46147F #4D7F14
analogous
#14187F #46147F #7C147F
triadic
#46147F #7F4614 #147F46
tetradic
#46147F #7F1418 #4D7F14 #147F7C
square
#46147F #7F1418 #4D7F14 #147F7C
split-complementary
#46147F #7F7C14 #187F14
monochromatic
#0F041A #290C4A #46147F #631CB4 #812FDE

Accessibility & contrast

On white

12.60
#46147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#46147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46147F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46147F#FFFFFF#000000##FFFFFF
##46147F1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#37334B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46147f;
/* rgb */ color: rgb(70, 20, 127);
/* oklch */ color: oklch(34.2% 0.162 298.1);
Tailwind
colors: {
  custom: {
    50: '#8059a5',
    500: '#46147f',
    950: '#000000',
  },
}
SCSS
$custom: #46147f;
$custom-light: #8059a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46147f",
  "rgb": {
    "r": 70,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 268.037,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34242,
    "c": 0.16231,
    "h": 298.1
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#46147F
secondary
#7BB43B
accent
#EF389A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46147F

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

Preview Lab → · Contrast checker → · Palette generator →

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