#160340#160340

#160340 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.104 H 287.1°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#160340
RGBrgb(22, 3, 64)
HSLhsl(259, 91%, 13%)
HSVhsv(259, 95%, 25%)
CMYKcmyk(65.6%, 95.3%, 0%, 74.9%)
CIE-LABlab(5.47, 26.67, -34.11)
CIE-LCHlch(5.47, 43.30, 308.02°)
OKLaboklab(19.54% 0.0306 -0.0998)
OKLCHoklch(19.54% 0.104 287.1)
XYZxyz(1.2886, 0.6058, 4.8985)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160340 #2D4003
analogous
#030E40 #160340 #340340
triadic
#160340 #401603 #034016
tetradic
#160340 #40030E #2D4003 #034034
square
#160340 #40030E #2D4003 #034034
split-complementary
#160340 #403403 #0E4003
monochromatic
#0A011D #0A011D #160340 #2A067A #3E08B5

Accessibility & contrast

On white

18.73
#160340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#160340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160340
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160340#FFFFFF#000000##FFFFFF
##1603401.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001342
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#031622
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #160340;
/* rgb */ color: rgb(22, 3, 64);
/* oklch */ color: oklch(19.5% 0.104 287.1);
Tailwind
colors: {
  custom: {
    50: '#5a4776',
    500: '#160340',
    950: '#000000',
  },
}
SCSS
$custom: #160340;
$custom-light: #5a4776;
$custom-dark: #000000;
JSON
{
  "hex": "#160340",
  "rgb": {
    "r": 22,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 258.689,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.1954,
    "c": 0.10443,
    "h": 287.1
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#160340
secondary
#62821D
accent
#FF29BC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #160340

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

Preview Lab → · Contrast checker → · Palette generator →

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