#11012A#11012A

#11012A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.6% C 0.081 H 295.5°. Best body text is #FFFFFF at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#11012A
RGBrgb(17, 1, 42)
HSLhsl(263, 95%, 8%)
HSVhsv(263, 98%, 16%)
CMYKcmyk(59.5%, 97.6%, 0%, 83.5%)
CIE-LABlab(2.78, 15.04, -22.21)
CIE-LCHlch(2.78, 26.82, 304.10°)
OKLaboklab(15.62% 0.0348 -0.0732)
OKLCHoklch(15.62% 0.081 295.5)
XYZxyz(0.6598, 0.3080, 2.2147)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11012A #1A2A01
analogous
#01052A #11012A #25012A
triadic
#11012A #2A1101 #012A11
tetradic
#11012A #2A0105 #1A2A01 #012A25
square
#11012A #2A0105 #1A2A01 #012A25
split-complementary
#11012A #2A2501 #052A01
monochromatic
#0C011E #0C011E #11012A #290266 #4104A2

Accessibility & contrast

On white

19.78
#11012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #11012A
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11012A#FFFFFF#000000##FFFFFF
##11012A1.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#090B15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #11012a;
/* rgb */ color: rgb(17, 1, 42);
/* oklch */ color: oklch(15.6% 0.081 295.5);
Tailwind
colors: {
  custom: {
    50: '#504764',
    500: '#11012a',
    950: '#000000',
  },
}
SCSS
$custom: #11012a;
$custom-light: #504764;
$custom-dark: #000000;
JSON
{
  "hex": "#11012a",
  "rgb": {
    "r": 17,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 263.415,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15616,
    "c": 0.08104,
    "h": 295.5
  },
  "luminance": 0.00308
}

Semantic roles & 50–950 ramp

primary
#11012A
secondary
#4D7016
accent
#FF29AB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #11012A

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

Preview Lab → · Contrast checker → · Palette generator →

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