#160946#160946

#160946 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.105 H 282.6°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#160946
RGBrgb(22, 9, 70)
HSLhsl(253, 77%, 15%)
HSVhsv(253, 87%, 27%)
CMYKcmyk(68.6%, 87.1%, 0%, 72.5%)
CIE-LABlab(7.30, 25.92, -35.38)
CIE-LCHlch(7.30, 43.86, 306.23°)
OKLaboklab(21.23% 0.0229 -0.1021)
OKLCHoklch(21.23% 0.105 282.6)
XYZxyz(1.5337, 0.8080, 5.8683)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160946 #394609
analogous
#091A46 #160946 #340946
triadic
#160946 #461609 #094616
tetradic
#160946 #46091A #394609 #094634
square
#160946 #46091A #394609 #094634
split-complementary
#160946 #463409 #1A4609
monochromatic
#09031B #09031B #160946 #27107C #3817B2

Accessibility & contrast

On white

18.08
#160946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#160946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160946
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160946#FFFFFF#000000##FFFFFF
##1609461.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160946;
/* rgb */ color: rgb(22, 9, 70);
/* oklch */ color: oklch(21.2% 0.105 282.6);
Tailwind
colors: {
  custom: {
    50: '#5b4a7a',
    500: '#160946',
    950: '#000000',
  },
}
SCSS
$custom: #160946;
$custom-light: #5b4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#160946",
  "rgb": {
    "r": 22,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 252.787,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21232,
    "c": 0.10467,
    "h": 282.6
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#160946
secondary
#708427
accent
#F434CB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #160946

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

Preview Lab → · Contrast checker → · Palette generator →

#160946 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva