#1C0D4E#1C0D4E

#1C0D4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.110 H 284.6°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1C0D4E
RGBrgb(28, 13, 78)
HSLhsl(254, 71%, 18%)
HSVhsv(254, 83%, 31%)
CMYKcmyk(64.1%, 83.3%, 0%, 69.4%)
CIE-LABlab(9.68, 27.30, -37.02)
CIE-LCHlch(9.68, 45.99, 306.41°)
OKLaboklab(23.35% 0.0277 -0.1066)
OKLCHoklch(23.35% 0.11 284.6)
XYZxyz(1.9975, 1.0847, 7.3104)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D4E #3F4E0D
analogous
#0D1E4E #1C0D4E #3C0D4E
triadic
#1C0D4E #4E1C0D #0D4E1C
tetradic
#1C0D4E #4E0D1E #3F4E0D #0D4E3C
square
#1C0D4E #4E0D1E #3F4E0D #0D4E3C
split-complementary
#1C0D4E #4E3C0D #1E4E0D
monochromatic
#09041A #09041A #1C0D4E #2F1682 #421EB7

Accessibility & contrast

On white

17.26
#1C0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0D4E
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D4E#FFFFFF#000000##FFFFFF
##1C0D4E1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#02202D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c0d4e;
/* rgb */ color: rgb(28, 13, 78);
/* oklch */ color: oklch(23.4% 0.110 284.6);
Tailwind
colors: {
  custom: {
    50: '#604d80',
    500: '#1c0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d4e;
$custom-light: #604d80;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d4e",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 253.846,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23353,
    "c": 0.11017,
    "h": 284.6
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#1C0D4E
secondary
#74892E
accent
#EE3AC5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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