#11012C#11012C

#11012C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.083 H 293.8°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#11012C
RGBrgb(17, 1, 44)
HSLhsl(262, 96%, 9%)
HSVhsv(262, 98%, 17%)
CMYKcmyk(61.4%, 97.7%, 0%, 82.7%)
CIE-LABlab(2.91, 15.97, -23.53)
CIE-LCHlch(2.91, 28.43, 304.16°)
OKLaboklab(15.87% 0.0337 -0.0763)
OKLCHoklch(15.87% 0.083 293.8)
XYZxyz(0.6965, 0.3227, 2.4080)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11012C #1C2C01
analogous
#01062C #11012C #27012C
triadic
#11012C #2C1101 #012C11
tetradic
#11012C #2C0106 #1C2C01 #012C27
square
#11012C #2C0106 #1C2C01 #012C27
split-complementary
#11012C #2C2701 #062C01
monochromatic
#0C011E #0C011E #11012C #280268 #3F04A4

Accessibility & contrast

On white

19.73
#11012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#11012C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #11012C
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11012C#FFFFFF#000000##FFFFFF
##11012C1.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#000A2B
Tritanopia (blue-blind)
#080C16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #11012c;
/* rgb */ color: rgb(17, 1, 44);
/* oklch */ color: oklch(15.9% 0.083 293.8);
Tailwind
colors: {
  custom: {
    50: '#504765',
    500: '#11012c',
    950: '#000000',
  },
}
SCSS
$custom: #11012c;
$custom-light: #504765;
$custom-dark: #000000;
JSON
{
  "hex": "#11012c",
  "rgb": {
    "r": 17,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 262.326,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15873,
    "c": 0.08347,
    "h": 293.8
  },
  "luminance": 0.00323
}

Semantic roles & 50–950 ramp

primary
#11012C
secondary
#507217
accent
#FF29AF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #11012C

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

Preview Lab → · Contrast checker → · Palette generator →

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