#10022C#10022C

#10022C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.081 H 291.6°. Best body text is #FFFFFF at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#10022C
RGBrgb(16, 2, 44)
HSLhsl(260, 91%, 9%)
HSVhsv(260, 95%, 17%)
CMYKcmyk(63.6%, 95.5%, 0%, 82.7%)
CIE-LABlab(3.03, 15.20, -23.35)
CIE-LCHlch(3.03, 27.86, 303.07°)
OKLaboklab(15.99% 0.0299 -0.0754)
OKLCHoklch(15.99% 0.081 291.6)
XYZxyz(0.6899, 0.3354, 2.4108)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10022C #1E2C02
analogous
#02092C #10022C #25022C
triadic
#10022C #2C1002 #022C10
tetradic
#10022C #2C0209 #1E2C02 #022C25
square
#10022C #2C0209 #1E2C02 #022C25
split-complementary
#10022C #2C2502 #092C02
monochromatic
#0B011D #0B011D #10022C #250567 #3B07A1

Accessibility & contrast

On white

19.68
#10022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10022C
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10022C#FFFFFF#000000##FFFFFF
##10022C1.0019.681.0719.68
#FFFFFF19.681.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2D
Deuteranopia (green-blind)
#000A2B
Tritanopia (blue-blind)
#060D16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #10022c;
/* rgb */ color: rgb(16, 2, 44);
/* oklch */ color: oklch(16.0% 0.081 291.6);
Tailwind
colors: {
  custom: {
    50: '#504765',
    500: '#10022c',
    950: '#000000',
  },
}
SCSS
$custom: #10022c;
$custom-light: #504765;
$custom-dark: #000000;
JSON
{
  "hex": "#10022c",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 260,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15989,
    "c": 0.08107,
    "h": 291.6
  },
  "luminance": 0.00335
}

Semantic roles & 50–950 ramp

primary
#10022C
secondary
#547119
accent
#FF29B8
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #10022C

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

Preview Lab → · Contrast checker → · Palette generator →

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