#46167B#46167B

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

Color values

HEX#46167B
RGBrgb(70, 22, 123)
HSLhsl(269, 70%, 28%)
HSVhsv(269, 82%, 48%)
CMYKcmyk(43.1%, 82.1%, 0%, 51.8%)
CIE-LABlab(21.23, 42.80, -47.65)
CIE-LCHlch(21.23, 64.05, 311.94°)
OKLaboklab(34.05% 0.0761 -0.1363)
OKLCHoklch(34.05% 0.156 299.2)
XYZxyz(6.3869, 3.3059, 19.0367)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46167B #4B7B16
analogous
#16187B #46167B #78167B
triadic
#46167B #7B4616 #167B46
tetradic
#46167B #7B1618 #4B7B16 #167B78
square
#46167B #7B1618 #4B7B16 #167B78
split-complementary
#46167B #7B7816 #187B16
monochromatic
#0F051A #280D47 #46167B #641FAF #8231DA

Accessibility & contrast

On white

12.64
#46167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46167B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46167B#FFFFFF#000000##FFFFFF
##46167B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#393249
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46167b;
/* rgb */ color: rgb(70, 22, 123);
/* oklch */ color: oklch(34.1% 0.156 299.2);
Tailwind
colors: {
  custom: {
    50: '#7f5aa2',
    500: '#46167b',
    950: '#000000',
  },
}
SCSS
$custom: #46167b;
$custom-light: #7f5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#46167b",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 268.515,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3405,
    "c": 0.15612,
    "h": 299.2
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#46167B
secondary
#79B03D
accent
#EC3B98
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46167B

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

Preview Lab → · Contrast checker → · Palette generator →

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