#46167F#46167F

#46167F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.160 H 297.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#46167F
RGBrgb(70, 22, 127)
HSLhsl(267, 70%, 29%)
HSVhsv(267, 83%, 50%)
CMYKcmyk(44.9%, 82.7%, 0%, 50.2%)
CIE-LABlab(21.61, 43.84, -49.57)
CIE-LCHlch(21.61, 66.17, 311.49°)
OKLaboklab(34.43% 0.0748 -0.1419)
OKLCHoklch(34.43% 0.16 297.8)
XYZxyz(6.6425, 3.4081, 20.3824)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46167F #4F7F16
analogous
#161A7F #46167F #7B167F
triadic
#46167F #7F4616 #167F46
tetradic
#46167F #7F161A #4F7F16 #167F7B
square
#46167F #7F161A #4F7F16 #167F7B
split-complementary
#46167F #7F7B16 #1A7F16
monochromatic
#0E051A #290D4B #46167F #631FB3 #8034DC

Accessibility & contrast

On white

12.49
#46167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46167F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46167F#FFFFFF#000000##FFFFFF
##46167F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#37344B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46167f;
/* rgb */ color: rgb(70, 22, 127);
/* oklch */ color: oklch(34.4% 0.160 297.8);
Tailwind
colors: {
  custom: {
    50: '#805aa5',
    500: '#46167f',
    950: '#000000',
  },
}
SCSS
$custom: #46167f;
$custom-light: #805aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#46167f",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 267.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.16046,
    "h": 297.8
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#46167F
secondary
#7DB43D
accent
#ED3B9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46167F

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

Preview Lab → · Contrast checker → · Palette generator →

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