#1C0D4F#1C0D4F

#1C0D4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.112 H 284.2°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#1C0D4F
RGBrgb(28, 13, 79)
HSLhsl(254, 72%, 18%)
HSVhsv(254, 84%, 31%)
CMYKcmyk(64.6%, 83.5%, 0%, 69%)
CIE-LABlab(9.79, 27.64, -37.52)
CIE-LCHlch(9.79, 46.60, 306.38°)
OKLaboklab(23.47% 0.0274 -0.1081)
OKLCHoklch(23.47% 0.112 284.2)
XYZxyz(2.0337, 1.0991, 7.5006)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D4F #404F0D
analogous
#0D1F4F #1C0D4F #3D0D4F
triadic
#1C0D4F #4F1C0D #0D4F1C
tetradic
#1C0D4F #4F0D1F #404F0D #0D4F3D
square
#1C0D4F #4F0D1F #404F0D #0D4F3D
split-complementary
#1C0D4F #4F3D0D #1F4F0D
monochromatic
#09041A #09041A #1C0D4F #2F1684 #411EB8

Accessibility & contrast

On white

17.22
#1C0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1C0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0D4F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D4F#FFFFFF#000000##FFFFFF
##1C0D4F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#01202D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c0d4f;
/* rgb */ color: rgb(28, 13, 79);
/* oklch */ color: oklch(23.5% 0.112 284.2);
Tailwind
colors: {
  custom: {
    50: '#604e81',
    500: '#1c0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d4f;
$custom-light: #604e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d4f",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 253.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23467,
    "c": 0.11153,
    "h": 284.2
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#1C0D4F
secondary
#758A2E
accent
#EE39C5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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