#160C3F#160C3F

#160C3F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.091 H 284.2°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#160C3F
RGBrgb(22, 12, 63)
HSLhsl(252, 68%, 15%)
HSVhsv(252, 81%, 25%)
CMYKcmyk(65.1%, 81%, 0%, 75.3%)
CIE-LABlab(7.16, 21.55, -30.64)
CIE-LCHlch(7.16, 37.46, 305.12°)
OKLaboklab(20.88% 0.0224 -0.0884)
OKLCHoklch(20.88% 0.091 284.2)
XYZxyz(1.3593, 0.7923, 4.7830)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C3F #353F0C
analogous
#0C1B3F #160C3F #300C3F
triadic
#160C3F #3F160C #0C3F16
tetradic
#160C3F #3F0C1B #353F0C #0C3F30
square
#160C3F #3F0C1B #353F0C #0C3F30
split-complementary
#160C3F #3F300C #1B3F0C
monochromatic
#09051A #09051A #160C3F #281672 #3A20A6

Accessibility & contrast

On white

18.13
#160C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#160C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C3F
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C3F#FFFFFF#000000##FFFFFF
##160C3F1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#031A24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160c3f;
/* rgb */ color: rgb(22, 12, 63);
/* oklch */ color: oklch(20.9% 0.091 284.2);
Tailwind
colors: {
  custom: {
    50: '#594c75',
    500: '#160c3f',
    950: '#000000',
  },
}
SCSS
$custom: #160c3f;
$custom-light: #594c75;
$custom-dark: #000000;
JSON
{
  "hex": "#160c3f",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 251.765,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20882,
    "c": 0.09116,
    "h": 284.2
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#160C3F
secondary
#6C7B2C
accent
#EB3DC9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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