#1C0D41#1C0D41

#1C0D41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.092 H 289.8°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#1C0D41
RGBrgb(28, 13, 65)
HSLhsl(257, 67%, 15%)
HSVhsv(257, 80%, 25%)
CMYKcmyk(56.9%, 80%, 0%, 74.5%)
CIE-LABlab(8.27, 22.89, -30.21)
CIE-LCHlch(8.27, 37.91, 307.15°)
OKLaboklab(21.93% 0.0313 -0.0867)
OKLCHoklch(21.93% 0.092 289.8)
XYZxyz(1.5767, 0.9163, 5.0938)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D41 #32410D
analogous
#0D1841 #1C0D41 #360D41
triadic
#1C0D41 #411C0D #0D411C
tetradic
#1C0D41 #410D18 #32410D #0D4136
square
#1C0D41 #410D18 #32410D #0D4136
split-complementary
#1C0D41 #41360D #18410D
monochromatic
#0B051A #0B051A #1C0D41 #321774 #4821A7

Accessibility & contrast

On white

17.75
#1C0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1C0D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0D41
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D41#FFFFFF#000000##FFFFFF
##1C0D411.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#0F1A25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1c0d41;
/* rgb */ color: rgb(28, 13, 65);
/* oklch */ color: oklch(21.9% 0.092 289.8);
Tailwind
colors: {
  custom: {
    50: '#5d4d76',
    500: '#1c0d41',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d41;
$custom-light: #5d4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d41",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 257.308,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21933,
    "c": 0.09219,
    "h": 289.8
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#1C0D41
secondary
#667D2D
accent
#EA3EB8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1C0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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