#160F38#160F38

#160F38 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.076 H 285.5°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#160F38
RGBrgb(22, 15, 56)
HSLhsl(250, 58%, 14%)
HSVhsv(250, 73%, 22%)
CMYKcmyk(60.7%, 73.2%, 0%, 78%)
CIE-LABlab(7.21, 16.89, -25.52)
CIE-LCHlch(7.21, 30.61, 303.50°)
OKLaboklab(20.7% 0.0203 -0.0733)
OKLCHoklch(20.7% 0.076 285.5)
XYZxyz(1.2153, 0.7977, 3.8305)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F38 #31380F
analogous
#0F1D38 #160F38 #2B0F38
triadic
#160F38 #38160F #0F3816
tetradic
#160F38 #380F1D #31380F #0F382B
square
#160F38 #380F1D #31380F #0F382B
split-complementary
#160F38 #382B0F #1D380F
monochromatic
#090618 #090618 #160F38 #291C68 #3C2999

Accessibility & contrast

On white

18.11
#160F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160F38
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F38#FFFFFF#000000##FFFFFF
##160F381.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#091921
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160f38;
/* rgb */ color: rgb(22, 15, 56);
/* oklch */ color: oklch(20.7% 0.076 285.5);
Tailwind
colors: {
  custom: {
    50: '#574d6f',
    500: '#160f38',
    950: '#000000',
  },
}
SCSS
$custom: #160f38;
$custom-light: #574d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#160f38",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 250.244,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20699,
    "c": 0.07608,
    "h": 285.5
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#160F38
secondary
#677230
accent
#E147C7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #160F38

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

Preview Lab → · Contrast checker → · Palette generator →

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