#1C112E#1C112E

#1C112E is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.9% C 0.056 H 299.0°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#1C112E
RGBrgb(28, 17, 46)
HSLhsl(263, 46%, 12%)
HSVhsv(263, 63%, 18%)
CMYKcmyk(39.1%, 63%, 0%, 82%)
CIE-LABlab(7.63, 13.66, -17.47)
CIE-LCHlch(7.63, 22.18, 308.02°)
OKLaboklab(20.94% 0.0273 -0.0493)
OKLCHoklch(20.94% 0.056 299)
XYZxyz(1.1724, 0.8450, 2.6856)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C112E #232E11
analogous
#11142E #1C112E #2B112E
triadic
#1C112E #2E1C11 #112E1C
tetradic
#1C112E #2E1114 #232E11 #112E2B
square
#1C112E #2E1114 #232E11 #112E2B
split-complementary
#1C112E #2E2B11 #142E11
monochromatic
#0E0816 #0E0816 #1C112E #37225B #523287

Accessibility & contrast

On white

17.96
#1C112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1C112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C112E
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C112E#FFFFFF#000000##FFFFFF
##1C112E1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#09172D
Tritanopia (blue-blind)
#18171D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1c112e;
/* rgb */ color: rgb(28, 17, 46);
/* oklch */ color: oklch(20.9% 0.056 299.0);
Tailwind
colors: {
  custom: {
    50: '#594f67',
    500: '#1c112e',
    950: '#000000',
  },
}
SCSS
$custom: #1c112e;
$custom-light: #594f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1c112e",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 262.759,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20935,
    "c": 0.05638,
    "h": 299
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#1C112E
secondary
#536634
accent
#D652A4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030206
muted
#78787A

Preview Lab

Preview with #1C112E

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

Preview Lab → · Contrast checker → · Palette generator →

#1C112E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva