#160338#160338

#160338 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.094 H 291.4°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#160338
RGBrgb(22, 3, 56)
HSLhsl(262, 90%, 12%)
HSVhsv(262, 95%, 22%)
CMYKcmyk(60.7%, 94.6%, 0%, 78%)
CIE-LABlab(4.71, 23.05, -29.57)
CIE-LCHlch(4.71, 37.49, 307.93°)
OKLaboklab(18.53% 0.0345 -0.0879)
OKLCHoklch(18.53% 0.094 291.4)
XYZxyz(1.0770, 0.5212, 3.7845)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160338 #253803
analogous
#030B38 #160338 #310338
triadic
#160338 #381603 #033816
tetradic
#160338 #38030B #253803 #033831
square
#160338 #38030B #253803 #033831
split-complementary
#160338 #383103 #0B3803
monochromatic
#0B021D #0B021D #160338 #2D0672 #4409AC

Accessibility & contrast

On white

19.02
#160338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#160338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160338
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160338#FFFFFF#000000##FFFFFF
##1603381.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000F37
Tritanopia (blue-blind)
#0A121E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #160338;
/* rgb */ color: rgb(22, 3, 56);
/* oklch */ color: oklch(18.5% 0.094 291.4);
Tailwind
colors: {
  custom: {
    50: '#57476f',
    500: '#160338',
    950: '#000000',
  },
}
SCSS
$custom: #160338;
$custom-light: #57476f;
$custom-dark: #000000;
JSON
{
  "hex": "#160338",
  "rgb": {
    "r": 22,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 261.509,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18529,
    "c": 0.09447,
    "h": 291.4
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#160338
secondary
#597B1C
accent
#FF29B2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #160338

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

Preview Lab → · Contrast checker → · Palette generator →

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