#1C0D4A#1C0D4A

#1C0D4A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.105 H 286.0°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#1C0D4A
RGBrgb(28, 13, 74)
HSLhsl(255, 70%, 17%)
HSVhsv(255, 82%, 29%)
CMYKcmyk(62.2%, 82.4%, 0%, 71%)
CIE-LABlab(9.23, 25.95, -34.98)
CIE-LCHlch(9.23, 43.55, 306.57°)
OKLaboklab(22.9% 0.0289 -0.1007)
OKLCHoklch(22.9% 0.105 286)
XYZxyz(1.8585, 1.0290, 6.5779)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D4A #3B4A0D
analogous
#0D1D4A #1C0D4A #3B0D4A
triadic
#1C0D4A #4A1C0D #0D4A1C
tetradic
#1C0D4A #4A0D1D #3B4A0D #0D4A3B
square
#1C0D4A #4A0D1D #3B4A0D #0D4A3B
split-complementary
#1C0D4A #4A3B0D #1D4A0D
monochromatic
#0A051A #0A051A #1C0D4A #30167E #431FB2

Accessibility & contrast

On white

17.42
#1C0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1C0D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0D4A
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D4A#FFFFFF#000000##FFFFFF
##1C0D4A1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#071E2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1c0d4a;
/* rgb */ color: rgb(28, 13, 74);
/* oklch */ color: oklch(22.9% 0.105 286.0);
Tailwind
colors: {
  custom: {
    50: '#5f4d7d',
    500: '#1c0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d4a;
$custom-light: #5f4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d4a",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 254.754,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22904,
    "c": 0.10474,
    "h": 286
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#1C0D4A
secondary
#70852E
accent
#ED3BC1
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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