#160C30#160C30

#160C30 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.068 H 291.5°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#160C30
RGBrgb(22, 12, 48)
HSLhsl(257, 60%, 12%)
HSVhsv(257, 75%, 19%)
CMYKcmyk(54.2%, 75%, 0%, 81.2%)
CIE-LABlab(5.84, 15.25, -21.85)
CIE-LCHlch(5.84, 26.64, 304.92°)
OKLaboklab(19.33% 0.025 -0.0635)
OKLCHoklch(19.33% 0.068 291.5)
XYZxyz(0.9957, 0.6469, 2.8681)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C30 #26300C
analogous
#0C1430 #160C30 #280C30
triadic
#160C30 #30160C #0C3016
tetradic
#160C30 #300C14 #26300C #0C3028
square
#160C30 #300C14 #26300C #0C3028
split-complementary
#160C30 #30280C #14300C
monochromatic
#0B0618 #0B0618 #160C30 #2C1861 #432492

Accessibility & contrast

On white

18.59
#160C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160C30
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C30#FFFFFF#000000##FFFFFF
##160C301.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#0E141C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #160c30;
/* rgb */ color: rgb(22, 12, 48);
/* oklch */ color: oklch(19.3% 0.068 291.5);
Tailwind
colors: {
  custom: {
    50: '#554b68',
    500: '#160c30',
    950: '#000000',
  },
}
SCSS
$custom: #160c30;
$custom-light: #554b68;
$custom-dark: #000000;
JSON
{
  "hex": "#160c30",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 256.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19325,
    "c": 0.06829,
    "h": 291.5
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#160C30
secondary
#5A6C2C
accent
#E345B7
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160C30

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

Preview Lab → · Contrast checker → · Palette generator →

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