#1C104D#1C104D

#1C104D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.105 H 284.0°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#1C104D
RGBrgb(28, 16, 77)
HSLhsl(252, 66%, 18%)
HSVhsv(252, 79%, 30%)
CMYKcmyk(63.6%, 79.2%, 0%, 69.8%)
CIE-LABlab(10.21, 25.15, -35.45)
CIE-LCHlch(10.21, 43.47, 305.35°)
OKLaboklab(23.69% 0.0254 -0.1021)
OKLCHoklch(23.69% 0.105 284)
XYZxyz(2.0033, 1.1532, 7.1368)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C104D #414D10
analogous
#10224D #1C104D #3A104D
triadic
#1C104D #4D1C10 #104D1C
tetradic
#1C104D #4D1022 #414D10 #104D3A
square
#1C104D #4D1022 #414D10 #104D3A
split-complementary
#1C104D #4D3A10 #224D10
monochromatic
#090519 #0A051A #1C104D #2E1B80 #4125B2

Accessibility & contrast

On white

17.06
#1C104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1C104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C104D
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C104D#FFFFFF#000000##FFFFFF
##1C104D1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#03212D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1c104d;
/* rgb */ color: rgb(28, 16, 77);
/* oklch */ color: oklch(23.7% 0.105 284.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f7f',
    500: '#1c104d',
    950: '#000000',
  },
}
SCSS
$custom: #1c104d;
$custom-light: #5f4f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c104d",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 251.803,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23693,
    "c": 0.1052,
    "h": 284
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#1C104D
secondary
#768732
accent
#E93FC7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C104D

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

Preview Lab → · Contrast checker → · Palette generator →

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