#46156C#46156C

#46156C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.141 H 305.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#46156C
RGBrgb(70, 21, 108)
HSLhsl(274, 67%, 25%)
HSVhsv(274, 81%, 42%)
CMYKcmyk(35.2%, 80.6%, 0%, 57.6%)
CIE-LABlab(19.73, 39.41, -40.44)
CIE-LCHlch(19.73, 56.46, 314.26°)
OKLaboklab(32.58% 0.0813 -0.1151)
OKLCHoklch(32.58% 0.141 305.2)
XYZxyz(5.5001, 2.9212, 14.4585)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46156C #3B6C15
analogous
#1A156C #46156C #6C1566
triadic
#46156C #6C4615 #156C46
tetradic
#46156C #6C1A15 #3B6C15 #15666C
square
#46156C #6C1A15 #3B6C15 #15666C
split-complementary
#46156C #666C15 #156C1A
monochromatic
#11051A #250B39 #46156C #671F9F #8829D2

Accessibility & contrast

On white

13.26
#46156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#46156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46156C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46156C#FFFFFF#000000##FFFFFF
##46156C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#3F2B40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46156c;
/* rgb */ color: rgb(70, 21, 108);
/* oklch */ color: oklch(32.6% 0.141 305.2);
Tailwind
colors: {
  custom: {
    50: '#7e5897',
    500: '#46156c',
    950: '#000000',
  },
}
SCSS
$custom: #46156c;
$custom-light: #7e5897;
$custom-dark: #000000;
JSON
{
  "hex": "#46156c",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 273.793,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32579,
    "c": 0.14098,
    "h": 305.2
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#46156C
secondary
#68A33A
accent
#EA3D89
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46156C

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

Preview Lab → · Contrast checker → · Palette generator →

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