#46167C#46167C

#46167C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.157 H 298.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#46167C
RGBrgb(70, 22, 124)
HSLhsl(268, 70%, 29%)
HSVhsv(268, 82%, 49%)
CMYKcmyk(43.5%, 82.3%, 0%, 51.4%)
CIE-LABlab(21.32, 43.06, -48.13)
CIE-LCHlch(21.32, 64.58, 311.82°)
OKLaboklab(34.14% 0.0758 -0.1377)
OKLCHoklch(34.14% 0.157 298.8)
XYZxyz(6.4499, 3.3311, 19.3680)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46167C #4C7C16
analogous
#16197C #46167C #79167C
triadic
#46167C #7C4616 #167C46
tetradic
#46167C #7C1619 #4C7C16 #167C79
square
#46167C #7C1619 #4C7C16 #167C79
split-complementary
#46167C #7C7916 #197C16
monochromatic
#0F051A #290D48 #46167C #631FB0 #8132DB

Accessibility & contrast

On white

12.60
#46167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46167C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46167C#FFFFFF#000000##FFFFFF
##46167C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#393249
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46167c;
/* rgb */ color: rgb(70, 22, 124);
/* oklch */ color: oklch(34.1% 0.157 298.8);
Tailwind
colors: {
  custom: {
    50: '#805aa3',
    500: '#46167c',
    950: '#000000',
  },
}
SCSS
$custom: #46167c;
$custom-light: #805aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#46167c",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 268.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.15721,
    "h": 298.8
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#46167C
secondary
#7AB13D
accent
#ED3B99
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46167C

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

Preview Lab → · Contrast checker → · Palette generator →

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