#1C104F#1C104F

#1C104F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.108 H 283.3°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#1C104F
RGBrgb(28, 16, 79)
HSLhsl(251, 66%, 19%)
HSVhsv(251, 80%, 31%)
CMYKcmyk(64.6%, 79.7%, 0%, 69%)
CIE-LABlab(10.42, 25.85, -36.48)
CIE-LCHlch(10.42, 44.71, 305.32°)
OKLaboklab(23.91% 0.0249 -0.1051)
OKLCHoklch(23.91% 0.108 283.3)
XYZxyz(2.0750, 1.1818, 7.5144)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C104F #434F10
analogous
#10234F #1C104F #3B104F
triadic
#1C104F #4F1C10 #104F1C
tetradic
#1C104F #4F1023 #434F10 #104F3B
square
#1C104F #4F1023 #434F10 #104F3B
split-complementary
#1C104F #4F3B10 #234F10
monochromatic
#090519 #0A061C #1C104F #2E1A82 #4025B5

Accessibility & contrast

On white

16.98
#1C104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1C104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C104F
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C104F#FFFFFF#000000##FFFFFF
##1C104F1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#01212E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1c104f;
/* rgb */ color: rgb(28, 16, 79);
/* oklch */ color: oklch(23.9% 0.108 283.3);
Tailwind
colors: {
  custom: {
    50: '#604f81',
    500: '#1c104f',
    950: '#000000',
  },
}
SCSS
$custom: #1c104f;
$custom-light: #604f81;
$custom-dark: #000000;
JSON
{
  "hex": "#1c104f",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 251.429,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23912,
    "c": 0.108,
    "h": 283.3
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#1C104F
secondary
#788932
accent
#E93FC9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C104F

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

Preview Lab → · Contrast checker → · Palette generator →

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