#160231#160231

#160231 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.5% C 0.088 H 296.7°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#160231
RGBrgb(22, 2, 49)
HSLhsl(266, 92%, 10%)
HSVhsv(266, 96%, 19%)
CMYKcmyk(55.1%, 95.9%, 0%, 80.8%)
CIE-LABlab(3.94, 20.12, -25.64)
CIE-LCHlch(3.94, 32.59, 308.12°)
OKLaboklab(17.47% 0.0394 -0.0784)
OKLCHoklch(17.47% 0.088 296.7)
XYZxyz(0.9068, 0.4357, 2.9415)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160231 #1D3102
analogous
#020531 #160231 #2E0231
triadic
#160231 #311602 #023116
tetradic
#160231 #310205 #1D3102 #02312E
square
#160231 #310205 #1D3102 #02312E
split-complementary
#160231 #312E02 #053102
monochromatic
#0D011D #0D011D #160231 #30046C #4B07A7

Accessibility & contrast

On white

19.32
#160231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#160231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160231
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160231#FFFFFF#000000##FFFFFF
##1602311.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#0E0E19
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #160231;
/* rgb */ color: rgb(22, 2, 49);
/* oklch */ color: oklch(17.5% 0.088 296.7);
Tailwind
colors: {
  custom: {
    50: '#554769',
    500: '#160231',
    950: '#000000',
  },
}
SCSS
$custom: #160231;
$custom-light: #554769;
$custom-dark: #000000;
JSON
{
  "hex": "#160231",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 265.532,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.17472,
    "c": 0.08774,
    "h": 296.7
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#160231
secondary
#4E7519
accent
#FF29A4
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #160231

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

Preview Lab → · Contrast checker → · Palette generator →

#160231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva