#160C48#160C48

#160C48 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.104 H 281.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#160C48
RGBrgb(22, 12, 72)
HSLhsl(250, 71%, 16%)
HSVhsv(250, 83%, 28%)
CMYKcmyk(69.4%, 83.3%, 0%, 71.8%)
CIE-LABlab(8.14, 24.93, -35.39)
CIE-LCHlch(8.14, 43.29, 305.16°)
OKLaboklab(21.91% 0.02 -0.1021)
OKLCHoklch(21.91% 0.104 281.1)
XYZxyz(1.6317, 0.9013, 6.2176)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C48 #3E480C
analogous
#0C2048 #160C48 #340C48
triadic
#160C48 #48160C #0C4816
tetradic
#160C48 #480C20 #3E480C #0C4834
square
#160C48 #480C20 #3E480C #0C4834
split-complementary
#160C48 #48340C #20480C
monochromatic
#08041A #08041A #160C48 #26157C #361DB1

Accessibility & contrast

On white

17.79
#160C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#160C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C48
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C48#FFFFFF#000000##FFFFFF
##160C481.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #160c48;
/* rgb */ color: rgb(22, 12, 72);
/* oklch */ color: oklch(21.9% 0.104 281.1);
Tailwind
colors: {
  custom: {
    50: '#5b4c7c',
    500: '#160c48',
    950: '#000000',
  },
}
SCSS
$custom: #160c48;
$custom-light: #5b4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#160c48",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 250,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21908,
    "c": 0.10406,
    "h": 281.1
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#160C48
secondary
#75842C
accent
#EE3AD0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #160C48

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

Preview Lab → · Contrast checker → · Palette generator →

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