#46117C#46117C

#46117C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.162 H 299.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#46117C
RGBrgb(70, 17, 124)
HSLhsl(270, 76%, 28%)
HSVhsv(270, 86%, 49%)
CMYKcmyk(43.5%, 86.3%, 0%, 51.4%)
CIE-LABlab(20.67, 44.98, -49.21)
CIE-LCHlch(20.67, 66.67, 312.43°)
OKLaboklab(33.69% 0.0795 -0.1408)
OKLCHoklch(33.69% 0.162 299.5)
XYZxyz(6.3634, 3.1581, 19.3392)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46117C #477C11
analogous
#11117C #46117C #7C117C
triadic
#46117C #7C4611 #117C46
tetradic
#46117C #7C1111 #477C11 #117C7C
square
#46117C #7C1111 #477C11 #117C7C
split-complementary
#46117C #7C7C11 #117C11
monochromatic
#0F041B #280A46 #46117C #6418B2 #8326E1

Accessibility & contrast

On white

12.87
#46117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#46117C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46117C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46117C#FFFFFF#000000##FFFFFF
##46117C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#393148
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #46117c;
/* rgb */ color: rgb(70, 17, 124);
/* oklch */ color: oklch(33.7% 0.162 299.5);
Tailwind
colors: {
  custom: {
    50: '#8058a3',
    500: '#46117c',
    950: '#000000',
  },
}
SCSS
$custom: #46117c;
$custom-light: #8058a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46117c",
  "rgb": {
    "r": 70,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 269.72,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33689,
    "c": 0.16176,
    "h": 299.5
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#46117C
secondary
#75B237
accent
#F23595
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46117C

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

Preview Lab → · Contrast checker → · Palette generator →

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