#160A45#160A45

#160A45 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.102 H 282.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#160A45
RGBrgb(22, 10, 69)
HSLhsl(252, 75%, 15%)
HSVhsv(252, 86%, 27%)
CMYKcmyk(68.1%, 85.5%, 0%, 72.9%)
CIE-LABlab(7.38, 25.00, -34.53)
CIE-LCHlch(7.38, 42.64, 305.90°)
OKLaboklab(21.26% 0.0225 -0.0997)
OKLCHoklch(21.26% 0.102 282.7)
XYZxyz(1.5133, 0.8172, 5.7071)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160A45 #39450A
analogous
#0A1B45 #160A45 #330A45
triadic
#160A45 #45160A #0A4516
tetradic
#160A45 #450A1B #39450A #0A4533
square
#160A45 #450A1B #39450A #0A4533
split-complementary
#160A45 #45330A #1B450A
monochromatic
#09041B #09041B #160A45 #27127A #3819B0

Accessibility & contrast

On white

18.05
#160A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160A45
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160A45#FFFFFF#000000##FFFFFF
##160A451.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160a45;
/* rgb */ color: rgb(22, 10, 69);
/* oklch */ color: oklch(21.3% 0.102 282.7);
Tailwind
colors: {
  custom: {
    50: '#5b4b79',
    500: '#160a45',
    950: '#000000',
  },
}
SCSS
$custom: #160a45;
$custom-light: #5b4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#160a45",
  "rgb": {
    "r": 22,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 252.203,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21258,
    "c": 0.10216,
    "h": 282.7
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#160A45
secondary
#708229
accent
#F136CB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #160A45

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

Preview Lab → · Contrast checker → · Palette generator →

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