#46167A#46167A

#46167A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.155 H 299.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#46167A
RGBrgb(70, 22, 122)
HSLhsl(269, 69%, 28%)
HSVhsv(269, 82%, 48%)
CMYKcmyk(42.6%, 82%, 0%, 52.2%)
CIE-LABlab(21.14, 42.55, -47.16)
CIE-LCHlch(21.14, 63.52, 312.06°)
OKLaboklab(33.96% 0.0764 -0.1349)
OKLCHoklch(33.96% 0.155 299.5)
XYZxyz(6.3247, 3.2810, 18.7087)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46167A #4A7A16
analogous
#16187A #46167A #78167A
triadic
#46167A #7A4616 #167A46
tetradic
#46167A #7A1618 #4A7A16 #167A78
square
#46167A #7A1618 #4A7A16 #167A78
split-complementary
#46167A #7A7816 #187A16
monochromatic
#0F051A #280D46 #46167A #641FAE #8231DA

Accessibility & contrast

On white

12.68
#46167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#46167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46167A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46167A#FFFFFF#000000##FFFFFF
##46167A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#393248
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46167a;
/* rgb */ color: rgb(70, 22, 122);
/* oklch */ color: oklch(34.0% 0.155 299.5);
Tailwind
colors: {
  custom: {
    50: '#7f5aa1',
    500: '#46167a',
    950: '#000000',
  },
}
SCSS
$custom: #46167a;
$custom-light: #7f5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#46167a",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 268.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.15504,
    "h": 299.5
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#46167A
secondary
#78AF3D
accent
#EC3C97
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46167A

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

Preview Lab → · Contrast checker → · Palette generator →

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