#46167E#46167E

#46167E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.159 H 298.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#46167E
RGBrgb(70, 22, 126)
HSLhsl(268, 70%, 29%)
HSVhsv(268, 83%, 49%)
CMYKcmyk(44.4%, 82.5%, 0%, 50.6%)
CIE-LABlab(21.51, 43.58, -49.09)
CIE-LCHlch(21.51, 65.64, 311.60°)
OKLaboklab(34.34% 0.0752 -0.1405)
OKLCHoklch(34.34% 0.159 298.1)
XYZxyz(6.5776, 3.3822, 20.0409)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46167E #4E7E16
analogous
#161A7E #46167E #7A167E
triadic
#46167E #7E4616 #167E46
tetradic
#46167E #7E161A #4E7E16 #167E7A
square
#46167E #7E161A #4E7E16 #167E7A
split-complementary
#46167E #7E7A16 #1A7E16
monochromatic
#0E051A #290D4A #46167E #631FB2 #8133DB

Accessibility & contrast

On white

12.53
#46167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#46167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46167E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46167E#FFFFFF#000000##FFFFFF
##46167E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#38334A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46167e;
/* rgb */ color: rgb(70, 22, 126);
/* oklch */ color: oklch(34.3% 0.159 298.1);
Tailwind
colors: {
  custom: {
    50: '#805aa4',
    500: '#46167e',
    950: '#000000',
  },
}
SCSS
$custom: #46167e;
$custom-light: #805aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#46167e",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 267.692,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.15938,
    "h": 298.1
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#46167E
secondary
#7CB33D
accent
#ED3B9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46167E

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

Preview Lab → · Contrast checker → · Palette generator →

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