#10022B#10022B

#10022B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.080 H 292.4°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#10022B
RGBrgb(16, 2, 43)
HSLhsl(260, 91%, 9%)
HSVhsv(260, 95%, 17%)
CMYKcmyk(62.8%, 95.3%, 0%, 83.1%)
CIE-LABlab(2.96, 14.73, -22.70)
CIE-LCHlch(2.96, 27.06, 302.98°)
OKLaboklab(15.86% 0.0304 -0.0738)
OKLCHoklch(15.86% 0.08 292.4)
XYZxyz(0.6713, 0.3280, 2.3130)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10022B #1D2B02
analogous
#02092B #10022B #25022B
triadic
#10022B #2B1002 #022B10
tetradic
#10022B #2B0209 #1D2B02 #022B25
square
#10022B #2B0209 #1D2B02 #022B25
split-complementary
#10022B #2B2502 #092B02
monochromatic
#0B011D #0B011D #10022B #260565 #3C07A0

Accessibility & contrast

On white

19.71
#10022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#10022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10022B
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10022B#FFFFFF#000000##FFFFFF
##10022B1.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#070C16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #10022b;
/* rgb */ color: rgb(16, 2, 43);
/* oklch */ color: oklch(15.9% 0.080 292.4);
Tailwind
colors: {
  custom: {
    50: '#4f4764',
    500: '#10022b',
    950: '#000000',
  },
}
SCSS
$custom: #10022b;
$custom-light: #4f4764;
$custom-dark: #000000;
JSON
{
  "hex": "#10022b",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 260.488,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15862,
    "c": 0.07977,
    "h": 292.4
  },
  "luminance": 0.00328
}

Semantic roles & 50–950 ramp

primary
#10022B
secondary
#527019
accent
#FF29B6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #10022B

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

Preview Lab → · Contrast checker → · Palette generator →

#10022B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva