#1C103F#1C103F

#1C103F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.085 H 289.4°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#1C103F
RGBrgb(28, 16, 63)
HSLhsl(255, 59%, 15%)
HSVhsv(255, 75%, 25%)
CMYKcmyk(55.6%, 74.6%, 0%, 75.3%)
CIE-LABlab(8.79, 20.23, -27.94)
CIE-LCHlch(8.79, 34.50, 305.91°)
OKLaboklab(22.24% 0.0282 -0.0801)
OKLCHoklch(22.24% 0.085 289.4)
XYZxyz(1.5611, 0.9763, 4.8078)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C103F #333F10
analogous
#101B3F #1C103F #33103F
triadic
#1C103F #3F1C10 #103F1C
tetradic
#1C103F #3F101B #333F10 #103F33
square
#1C103F #3F101B #333F10 #103F33
split-complementary
#1C103F #3F3310 #1B3F10
monochromatic
#0B0618 #0B0618 #1C103F #321C70 #4729A1

Accessibility & contrast

On white

17.57
#1C103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1C103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C103F
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C103F#FFFFFF#000000##FFFFFF
##1C103F1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#101B25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1c103f;
/* rgb */ color: rgb(28, 16, 63);
/* oklch */ color: oklch(22.2% 0.085 289.4);
Tailwind
colors: {
  custom: {
    50: '#5c4f74',
    500: '#1c103f',
    950: '#000000',
  },
}
SCSS
$custom: #1c103f;
$custom-light: #5c4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1c103f",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 255.319,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22244,
    "c": 0.08488,
    "h": 289.4
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#1C103F
secondary
#677932
accent
#E345BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1C103F

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

Preview Lab → · Contrast checker → · Palette generator →

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