#1C104A#1C104A

#1C104A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.101 H 285.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#1C104A
RGBrgb(28, 16, 74)
HSLhsl(252, 64%, 18%)
HSVhsv(252, 78%, 29%)
CMYKcmyk(62.2%, 78.4%, 0%, 71%)
CIE-LABlab(9.89, 24.10, -33.89)
CIE-LCHlch(9.89, 41.59, 305.41°)
OKLaboklab(23.37% 0.0261 -0.0975)
OKLCHoklch(23.37% 0.101 285)
XYZxyz(1.8998, 1.1118, 6.5917)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C104A #3E4A10
analogous
#10214A #1C104A #39104A
triadic
#1C104A #4A1C10 #104A1C
tetradic
#1C104A #4A1021 #3E4A10 #104A39
square
#1C104A #4A1021 #3E4A10 #104A39
split-complementary
#1C104A #4A3910 #214A10
monochromatic
#0A0519 #0A0519 #1C104A #2F1B7C #4226AF

Accessibility & contrast

On white

17.18
#1C104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1C104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C104A
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C104A#FFFFFF#000000##FFFFFF
##1C104A1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#061F2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c104a;
/* rgb */ color: rgb(28, 16, 74);
/* oklch */ color: oklch(23.4% 0.101 285.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f7d',
    500: '#1c104a',
    950: '#000000',
  },
}
SCSS
$custom: #1c104a;
$custom-light: #5f4f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c104a",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 252.414,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2337,
    "c": 0.10096,
    "h": 285
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#1C104A
secondary
#738432
accent
#E740C5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C104A

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

Preview Lab → · Contrast checker → · Palette generator →

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