#1C0136#1C0136

#1C0136 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.8% C 0.096 H 301.2°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#1C0136
RGBrgb(28, 1, 54)
HSLhsl(271, 96%, 11%)
HSVhsv(271, 98%, 21%)
CMYKcmyk(48.1%, 98.1%, 0%, 78.8%)
CIE-LABlab(4.83, 25.17, -27.87)
CIE-LCHlch(4.83, 37.55, 312.09°)
OKLaboklab(18.79% 0.05 -0.0824)
OKLCHoklch(18.79% 0.096 301.2)
XYZxyz(1.1554, 0.5349, 3.5317)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0136 #1B3601
analogous
#010136 #1C0136 #360135
triadic
#1C0136 #361C01 #01361C
tetradic
#1C0136 #360101 #1B3601 #013536
square
#1C0136 #360101 #1B3601 #013536
split-complementary
#1C0136 #353601 #013601
monochromatic
#10011E #10011E #1C0136 #3B0272 #5A03AE

Accessibility & contrast

On white

18.97
#1C0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1C0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0136
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0136#FFFFFF#000000##FFFFFF
##1C01361.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#001035
Tritanopia (blue-blind)
#160F1C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1c0136;
/* rgb */ color: rgb(28, 1, 54);
/* oklch */ color: oklch(18.8% 0.096 301.2);
Tailwind
colors: {
  custom: {
    50: '#5b466d',
    500: '#1c0136',
    950: '#000000',
  },
}
SCSS
$custom: #1c0136;
$custom-light: #5b466d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0136",
  "rgb": {
    "r": 28,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 270.566,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18787,
    "c": 0.0964,
    "h": 301.2
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#1C0136
secondary
#487B18
accent
#FF2992
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0136

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

Preview Lab → · Contrast checker → · Palette generator →

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