#160A34#160A34

#160A34 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.078 H 290.4°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#160A34
RGBrgb(22, 10, 52)
HSLhsl(257, 68%, 12%)
HSVhsv(257, 81%, 20%)
CMYKcmyk(57.7%, 80.8%, 0%, 79.6%)
CIE-LABlab(5.74, 17.97, -24.97)
CIE-LCHlch(5.74, 30.76, 305.74°)
OKLaboklab(19.36% 0.027 -0.0728)
OKLCHoklch(19.36% 0.078 290.4)
XYZxyz(1.0591, 0.6355, 3.3150)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160A34 #28340A
analogous
#0A1334 #160A34 #2B0A34
triadic
#160A34 #34160A #0A3416
tetradic
#160A34 #340A13 #28340A #0A342B
square
#160A34 #340A13 #28340A #0A342B
split-complementary
#160A34 #342B0A #13340A
monochromatic
#0B051A #0B051A #160A34 #2C1467 #411E9B

Accessibility & contrast

On white

18.63
#160A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#160A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160A34
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160A34#FFFFFF#000000##FFFFFF
##160A341.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#0C151D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #160a34;
/* rgb */ color: rgb(22, 10, 52);
/* oklch */ color: oklch(19.4% 0.078 290.4);
Tailwind
colors: {
  custom: {
    50: '#564a6c',
    500: '#160a34',
    950: '#000000',
  },
}
SCSS
$custom: #160a34;
$custom-light: #564a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#160a34",
  "rgb": {
    "r": 22,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 257.143,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19355,
    "c": 0.07769,
    "h": 290.4
  },
  "luminance": 0.00636
}

Semantic roles & 50–950 ramp

primary
#160A34
secondary
#5D7128
accent
#EB3DB9
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #160A34

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

Preview Lab → · Contrast checker → · Palette generator →

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