#160339#160339

#160339 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.096 H 290.8°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#160339
RGBrgb(22, 3, 57)
HSLhsl(261, 90%, 12%)
HSVhsv(261, 95%, 22%)
CMYKcmyk(61.4%, 94.7%, 0%, 77.6%)
CIE-LABlab(4.80, 23.51, -30.15)
CIE-LCHlch(4.80, 38.24, 307.95°)
OKLaboklab(18.65% 0.034 -0.0895)
OKLCHoklch(18.65% 0.096 290.8)
XYZxyz(1.1017, 0.5311, 3.9146)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160339 #263903
analogous
#030B39 #160339 #310339
triadic
#160339 #391603 #033916
tetradic
#160339 #39030B #263903 #033931
square
#160339 #39030B #263903 #033931
split-complementary
#160339 #393103 #0B3903
monochromatic
#0B021D #0B021D #160339 #2C0673 #4309AD

Accessibility & contrast

On white

18.98
#160339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#160339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160339
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160339#FFFFFF#000000##FFFFFF
##1603391.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#000F38
Tritanopia (blue-blind)
#09121E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #160339;
/* rgb */ color: rgb(22, 3, 57);
/* oklch */ color: oklch(18.7% 0.096 290.8);
Tailwind
colors: {
  custom: {
    50: '#584770',
    500: '#160339',
    950: '#000000',
  },
}
SCSS
$custom: #160339;
$custom-light: #584770;
$custom-dark: #000000;
JSON
{
  "hex": "#160339",
  "rgb": {
    "r": 22,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 261.111,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18653,
    "c": 0.09572,
    "h": 290.8
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#160339
secondary
#5A7C1C
accent
#FF29B4
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #160339

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

Preview Lab → · Contrast checker → · Palette generator →

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