#160C2D#160C2D

#160C2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.063 H 293.4°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#160C2D
RGBrgb(22, 12, 45)
HSLhsl(258, 58%, 11%)
HSVhsv(258, 73%, 18%)
CMYKcmyk(51.1%, 73.3%, 0%, 82.4%)
CIE-LABlab(5.63, 13.95, -19.95)
CIE-LCHlch(5.63, 24.35, 304.95°)
OKLaboklab(19.04% 0.0252 -0.0582)
OKLCHoklch(19.04% 0.063 293.4)
XYZxyz(0.9359, 0.6230, 2.5530)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C2D #232D0C
analogous
#0C122D #160C2D #260C2D
triadic
#160C2D #2D160C #0C2D16
tetradic
#160C2D #2D0C12 #232D0C #0C2D26
square
#160C2D #2D0C12 #232D0C #0C2D26
split-complementary
#160C2D #2D260C #122D0C
monochromatic
#0C0618 #0C0618 #160C2D #2E195D #45268E

Accessibility & contrast

On white

18.67
#160C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#160C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C2D
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C2D#FFFFFF#000000##FFFFFF
##160C2D1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#00122C
Tritanopia (blue-blind)
#10131A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #160c2d;
/* rgb */ color: rgb(22, 12, 45);
/* oklch */ color: oklch(19.0% 0.063 293.4);
Tailwind
colors: {
  custom: {
    50: '#554c66',
    500: '#160c2d',
    950: '#000000',
  },
}
SCSS
$custom: #160c2d;
$custom-light: #554c66;
$custom-dark: #000000;
JSON
{
  "hex": "#160c2d",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 258.182,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19043,
    "c": 0.06348,
    "h": 293.4
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#160C2D
secondary
#56692C
accent
#E147B2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160C2D

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

Preview Lab → · Contrast checker → · Palette generator →

#160C2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva