#160C3C#160C3C

#160C3C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.087 H 285.4°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#160C3C
RGBrgb(22, 12, 60)
HSLhsl(253, 67%, 14%)
HSVhsv(253, 80%, 24%)
CMYKcmyk(63.3%, 80%, 0%, 76.5%)
CIE-LABlab(6.86, 20.34, -28.97)
CIE-LCHlch(6.86, 35.40, 305.07°)
OKLaboklab(20.55% 0.0231 -0.0836)
OKLCHoklch(20.55% 0.087 285.4)
XYZxyz(1.2777, 0.7597, 4.3534)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C3C #323C0C
analogous
#0C1A3C #160C3C #2E0C3C
triadic
#160C3C #3C160C #0C3C16
tetradic
#160C3C #3C0C1A #323C0C #0C3C2E
square
#160C3C #3C0C1A #323C0C #0C3C2E
split-complementary
#160C3C #3C2E0C #1A3C0C
monochromatic
#09051A #09051A #160C3C #29166F #3B20A2

Accessibility & contrast

On white

18.23
#160C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C3C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C3C#FFFFFF#000000##FFFFFF
##160C3C1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#061922
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160c3c;
/* rgb */ color: rgb(22, 12, 60);
/* oklch */ color: oklch(20.6% 0.087 285.4);
Tailwind
colors: {
  custom: {
    50: '#584b72',
    500: '#160c3c',
    950: '#000000',
  },
}
SCSS
$custom: #160c3c;
$custom-light: #584b72;
$custom-dark: #000000;
JSON
{
  "hex": "#160c3c",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 252.5,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20553,
    "c": 0.08674,
    "h": 285.4
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#160C3C
secondary
#68782C
accent
#EA3EC6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #160C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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