#1C0336#1C0336

#1C0336 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.093 H 300.4°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#1C0336
RGBrgb(28, 3, 54)
HSLhsl(269, 89%, 11%)
HSVhsv(269, 94%, 21%)
CMYKcmyk(48.1%, 94.4%, 0%, 78.8%)
CIE-LABlab(5.22, 24.20, -27.23)
CIE-LCHlch(5.22, 36.43, 311.62°)
OKLaboklab(19.15% 0.0469 -0.0799)
OKLCHoklch(19.15% 0.093 300.4)
XYZxyz(1.1771, 0.5783, 3.5389)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0336 #1D3603
analogous
#030336 #1C0336 #350336
triadic
#1C0336 #361C03 #03361C
tetradic
#1C0336 #360303 #1D3603 #033635
square
#1C0336 #360303 #1D3603 #033635
split-complementary
#1C0336 #363503 #033603
monochromatic
#0F021D #0F021D #1C0336 #3A0670 #5809AA

Accessibility & contrast

On white

18.82
#1C0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1C0336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0336
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0336#FFFFFF#000000##FFFFFF
##1C03361.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.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: #1c0336;
/* rgb */ color: rgb(28, 3, 54);
/* oklch */ color: oklch(19.2% 0.093 300.4);
Tailwind
colors: {
  custom: {
    50: '#5b476d',
    500: '#1c0336',
    950: '#000000',
  },
}
SCSS
$custom: #1c0336;
$custom-light: #5b476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0336",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 269.412,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19152,
    "c": 0.09263,
    "h": 300.4
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#1C0336
secondary
#4B791C
accent
#FF2996
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0336

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

Preview Lab → · Contrast checker → · Palette generator →

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