#1C0D4D#1C0D4D

#1C0D4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.109 H 284.9°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#1C0D4D
RGBrgb(28, 13, 77)
HSLhsl(254, 71%, 18%)
HSVhsv(254, 83%, 30%)
CMYKcmyk(63.6%, 83.1%, 0%, 69.8%)
CIE-LABlab(9.56, 26.97, -36.51)
CIE-LCHlch(9.56, 45.39, 306.45°)
OKLaboklab(23.24% 0.028 -0.1052)
OKLCHoklch(23.24% 0.109 284.9)
XYZxyz(1.9620, 1.0704, 7.1230)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D4D #3E4D0D
analogous
#0D1E4D #1C0D4D #3C0D4D
triadic
#1C0D4D #4D1C0D #0D4D1C
tetradic
#1C0D4D #4D0D1E #3E4D0D #0D4D3C
square
#1C0D4D #4D0D1E #3E4D0D #0D4D3C
split-complementary
#1C0D4D #4D3C0D #1E4D0D
monochromatic
#0A041A #0A041A #1C0D4D #2F1681 #421FB6

Accessibility & contrast

On white

17.30
#1C0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0D4D
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D4D#FFFFFF#000000##FFFFFF
##1C0D4D1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#031F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c0d4d;
/* rgb */ color: rgb(28, 13, 77);
/* oklch */ color: oklch(23.2% 0.109 284.9);
Tailwind
colors: {
  custom: {
    50: '#604d80',
    500: '#1c0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d4d;
$custom-light: #604d80;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d4d",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 254.063,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2324,
    "c": 0.10883,
    "h": 284.9
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#1C0D4D
secondary
#73882E
accent
#EE3AC4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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