#1C103C#1C103C

#1C103C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.080 H 290.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#1C103C
RGBrgb(28, 16, 60)
HSLhsl(256, 58%, 15%)
HSVhsv(256, 73%, 24%)
CMYKcmyk(53.3%, 73.3%, 0%, 76.5%)
CIE-LABlab(8.51, 19.19, -26.26)
CIE-LCHlch(8.51, 32.52, 306.16°)
OKLaboklab(21.95% 0.0286 -0.0751)
OKLCHoklch(21.95% 0.08 290.8)
XYZxyz(1.4796, 0.9436, 4.3783)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C103C #303C10
analogous
#101A3C #1C103C #32103C
triadic
#1C103C #3C1C10 #103C1C
tetradic
#1C103C #3C101A #303C10 #103C32
square
#1C103C #3C101A #303C10 #103C32
split-complementary
#1C103C #3C3210 #1A3C10
monochromatic
#0B0618 #0B0618 #1C103C #331D6C #492A9D

Accessibility & contrast

On white

17.66
#1C103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1C103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C103C
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C103C#FFFFFF#000000##FFFFFF
##1C103C1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#121A24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1c103c;
/* rgb */ color: rgb(28, 16, 60);
/* oklch */ color: oklch(22.0% 0.080 290.8);
Tailwind
colors: {
  custom: {
    50: '#5c4e72',
    500: '#1c103c',
    950: '#000000',
  },
}
SCSS
$custom: #1c103c;
$custom-light: #5c4e72;
$custom-dark: #000000;
JSON
{
  "hex": "#1c103c",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 256.364,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21954,
    "c": 0.08035,
    "h": 290.8
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#1C103C
secondary
#637632
accent
#E147B7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1C103C

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

Preview Lab → · Contrast checker → · Palette generator →

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