#1C0236#1C0236

#1C0236 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.094 H 300.8°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#1C0236
RGBrgb(28, 2, 54)
HSLhsl(270, 93%, 11%)
HSVhsv(270, 96%, 21%)
CMYKcmyk(48.1%, 96.3%, 0%, 78.8%)
CIE-LABlab(5.03, 24.69, -27.55)
CIE-LCHlch(5.03, 36.99, 311.87°)
OKLaboklab(18.97% 0.0484 -0.0811)
OKLCHoklch(18.97% 0.094 300.8)
XYZxyz(1.1663, 0.5566, 3.5353)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0236 #1C3602
analogous
#020236 #1C0236 #360236
triadic
#1C0236 #361C02 #02361C
tetradic
#1C0236 #360202 #1C3602 #023636
square
#1C0236 #360202 #1C3602 #023636
split-complementary
#1C0236 #363602 #023602
monochromatic
#0F011E #0F011E #1C0236 #3B0471 #5906AC

Accessibility & contrast

On white

18.90
#1C0236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0236
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0236#FFFFFF#000000##FFFFFF
##1C02361.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#16101C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c0236;
/* rgb */ color: rgb(28, 2, 54);
/* oklch */ color: oklch(19.0% 0.094 300.8);
Tailwind
colors: {
  custom: {
    50: '#5b466d',
    500: '#1c0236',
    950: '#000000',
  },
}
SCSS
$custom: #1c0236;
$custom-light: #5b466d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0236",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 270,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18971,
    "c": 0.09449,
    "h": 300.8
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#1C0236
secondary
#4A7A1A
accent
#FF2994
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0236

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

Preview Lab → · Contrast checker → · Palette generator →

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