#46167D#46167D

#46167D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.158 H 298.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#46167D
RGBrgb(70, 22, 125)
HSLhsl(268, 70%, 29%)
HSVhsv(268, 82%, 49%)
CMYKcmyk(44%, 82.4%, 0%, 51%)
CIE-LABlab(21.42, 43.32, -48.61)
CIE-LCHlch(21.42, 65.11, 311.71°)
OKLaboklab(34.24% 0.0755 -0.1391)
OKLCHoklch(34.24% 0.158 298.5)
XYZxyz(6.5134, 3.3565, 19.7028)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46167D #4D7D16
analogous
#161A7D #46167D #7A167D
triadic
#46167D #7D4616 #167D46
tetradic
#46167D #7D161A #4D7D16 #167D7A
square
#46167D #7D161A #4D7D16 #167D7A
split-complementary
#46167D #7D7A16 #1A7D16
monochromatic
#0F051A #290D49 #46167D #631FB1 #8132DB

Accessibility & contrast

On white

12.56
#46167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#46167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46167D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46167D#FFFFFF#000000##FFFFFF
##46167D1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46167d;
/* rgb */ color: rgb(70, 22, 125);
/* oklch */ color: oklch(34.2% 0.158 298.5);
Tailwind
colors: {
  custom: {
    50: '#805aa4',
    500: '#46167d',
    950: '#000000',
  },
}
SCSS
$custom: #46167d;
$custom-light: #805aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#46167d",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 267.961,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3424,
    "c": 0.15829,
    "h": 298.5
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#46167D
secondary
#7BB23D
accent
#ED3B9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46167D

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

Preview Lab → · Contrast checker → · Palette generator →

#46167D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva