#1C0346#1C0346

#1C0346 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.111 H 290.6°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#1C0346
RGBrgb(28, 3, 70)
HSLhsl(262, 92%, 14%)
HSVhsv(262, 96%, 27%)
CMYKcmyk(60%, 95.7%, 0%, 72.5%)
CIE-LABlab(6.81, 30.26, -36.15)
CIE-LCHlch(6.81, 47.14, 309.93°)
OKLaboklab(21.04% 0.0392 -0.1043)
OKLCHoklch(21.04% 0.111 290.6)
XYZxyz(1.6166, 0.7541, 5.8535)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0346 #2D4603
analogous
#030C46 #1C0346 #3E0346
triadic
#1C0346 #461C03 #03461C
tetradic
#1C0346 #46030C #2D4603 #03463E
square
#1C0346 #46030C #2D4603 #03463E
split-complementary
#1C0346 #463E03 #0C4603
monochromatic
#0C011D #0C011D #1C0346 #330681 #4B08BB

Accessibility & contrast

On white

18.25
#1C0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1C0346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0346
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0346#FFFFFF#000000##FFFFFF
##1C03461.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#0C1826
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1c0346;
/* rgb */ color: rgb(28, 3, 70);
/* oklch */ color: oklch(21.0% 0.111 290.6);
Tailwind
colors: {
  custom: {
    50: '#5f477a',
    500: '#1c0346',
    950: '#000000',
  },
}
SCSS
$custom: #1c0346;
$custom-light: #5f477a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0346",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 262.388,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21044,
    "c": 0.11142,
    "h": 290.6
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#1C0346
secondary
#60871D
accent
#FF29AF
background
#F5F4F7
surface
#EAE6EE
border
#C6C2C9
text
#050009
muted
#79777B

Preview Lab

Preview with #1C0346

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

Preview Lab → · Contrast checker → · Palette generator →

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