#46156B#46156B

#46156B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.140 H 305.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#46156B
RGBrgb(70, 21, 107)
HSLhsl(274, 67%, 25%)
HSVhsv(274, 80%, 42%)
CMYKcmyk(34.6%, 80.4%, 0%, 58%)
CIE-LABlab(19.64, 39.16, -39.93)
CIE-LCHlch(19.64, 55.93, 314.44°)
OKLaboklab(32.49% 0.0816 -0.1136)
OKLCHoklch(32.49% 0.14 305.7)
XYZxyz(5.4472, 2.9000, 14.1799)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46156B #3A6B15
analogous
#1B156B #46156B #6B1565
triadic
#46156B #6B4615 #156B46
tetradic
#46156B #6B1B15 #3A6B15 #15656B
square
#46156B #6B1B15 #3A6B15 #15656B
split-complementary
#46156B #656B15 #156B1B
monochromatic
#11051A #250B38 #46156B #671F9E #8929D1

Accessibility & contrast

On white

13.29
#46156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46156B
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46156B#FFFFFF#000000##FFFFFF
##46156B1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#3F2B3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46156b;
/* rgb */ color: rgb(70, 21, 107);
/* oklch */ color: oklch(32.5% 0.140 305.7);
Tailwind
colors: {
  custom: {
    50: '#7e5896',
    500: '#46156b',
    950: '#000000',
  },
}
SCSS
$custom: #46156b;
$custom-light: #7e5896;
$custom-dark: #000000;
JSON
{
  "hex": "#46156b",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 274.186,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32491,
    "c": 0.13989,
    "h": 305.7
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#46156B
secondary
#67A23A
accent
#EA3E88
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46156B

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

Preview Lab → · Contrast checker → · Palette generator →

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